Both methods have different advantages and drawbacks. Some are listed below.
Continously repeating build loop
+ automatic serialization of builds
- depending on requirements, may need to configure build box to automatically logon and run scheduled task at login (see notes at
http://www.visualbuild.com/Manual/contintegsample.htm for details)
Repeating scheduled task
+ runs whether user is logged on or not (but no visible UI if not)
- need to ensure builds are run sequentially (one way is to check for signal file at start of build and exit if found, then create a signal file and delete on build succeed/fail)