Hello
We use scheduled tasks to run some of our Final Builder Projects. The scheduled task will not run if I have FB open (to the same project) from a previous run. Is this a known limitation or perhaps a limitation of Final Builder?
Thanks
Michelle
Hi Michelle,
This is a limitation of FinalBuilder, because each project log file can be open by only one FinalBuilder instance at a time.
In FinalBuilder 5, we added two new options for scheduled/automated builds - one which closes any other idle instances of FinalBuilder which have the same project open when a scheduled program starts, and one which force closes any other instances (regardless of whether they are idle or not.)
The new options can be set on page 6 of the “Scheduler” wizard when you create a new schedule (close idle instances is turned on by default), or they can be enabled on the command line as options /O and /OF, respectively.
It is not recommended that you use /OF unless it is absolutely necessary that the scheduled build runs. /O is safe, though (it will only close the project if it is saved and not running.)
Regards,
Angus
Michelle,
I have gotten around this and similar problems in this way:
I have a development folder and a stable folder. I work on the scripts in the development folder, and when they’re stable I copy them over to the stable folder. Of course I only copy the FBPx files, none of the locks or logs or anything else. The nightly builder picks up the scripts to build from the stable folder. This way the nightly builder and I don’t clash when building scripts.
I hope this helps!