# FB stop new scheduled build

**URL:** https://www.finalbuilder.com/forums/t/fb-stop-new-scheduled-build/795
**Category:** Discussion
**Created:** [April 3, 2008, 7:43am UTC](https://www.finalbuilder.com/forums/t/fb-stop-new-scheduled-build/795 "2008-04-03T07:43:13Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [April 3, 2008, 7:43am UTC](https://www.finalbuilder.com/forums/t/fb-stop-new-scheduled-build/795/1 "2008-04-03T07:43:13Z")

</div>

I have scheduled to build a new version every day 05:00 AM. But sometimes also manual builds occur and if I forgot to close FB it prevents the automatic build.

Anyone have the same problem?

&nbsp;

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [April 3, 2008, 2:21am UTC](https://www.finalbuilder.com/forums/t/fb-stop-new-scheduled-build/795/2 "2008-04-03T02:21:07Z")

</div>

add /OF in the command line, this will close the Interactive program before working. (It is explained in the help)   
 Daphna Levin

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [April 3, 2008, 5:32am UTC](https://www.finalbuilder.com/forums/t/fb-stop-new-scheduled-build/795/3 "2008-04-03T05:32:32Z")

</div>

When the first instance have the same project loaded it don't work. This dialog appear:  
  
Unable to load project: D:\Stage\FinalBuilder\NightlyBuild.fbp5  
Error: Cannot open file "D:\Stage\FinalBuilder\NightlyBuild.fbl5". The process cannot access the file because it is being used by another process  
  
I guess we have to remember to close FB in the evening... :)  
  
Regards

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [April 3, 2008, 11:58am UTC](https://www.finalbuilder.com/forums/t/fb-stop-new-scheduled-build/795/4 "2008-04-03T11:58:25Z")

</div>

Hi Roland,   
  
 If the manual builds are running in the IDE then /OF should work. Are you running the automatic builds with FBCMD? What version of FinalBuilder are you using?   
  
 Regards,   
  
 Angus

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [April 4, 2008, 6:57am UTC](https://www.finalbuilder.com/forums/t/fb-stop-new-scheduled-build/795/5 "2008-04-04T06:57:00Z")

</div>

It is version 5.5.0.627. Autoload last project is active.   
 The target in the shortcut is “C:\Program Files\FinalBuilder 5\FinalBuilder5.exe” /OF   
 If I start FB 2 times from this icon the second time a dialog appear:   
  
 Unable to load project: D:\Stage\FinalBuilder\NightlyBuild.fbp5   
 Error: Cannot open file “D:\Stage\FinalBuilder\NightlyBuild.fbl5”. The process cannot access the file because it is being used by another process   
  
 One solution to the original problem is to use the /e switch. Then FB automatically close after the manual build. An email of the result is then sent to developers. We miss the big green checkmark screen for success, but it may be worth it.   
  
 /Roland

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [April 4, 2008, 7:56am UTC](https://www.finalbuilder.com/forums/t/fb-stop-new-scheduled-build/795/6 "2008-04-04T07:56:14Z")

</div>

Hi Roland,   
  
 The /OF has to go with the scheduled automatic project, not the manual project. It only works when you’re auto-running FinalBuilder IDE with /R or using FBCMD.   
  
 It means “Close any idle FinalBuilder instances which have this project open.”   
  
 Regards,   
  
 Angus

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [April 4, 2008, 3:02am UTC](https://www.finalbuilder.com/forums/t/fb-stop-new-scheduled-build/795/7 "2008-04-04T03:02:09Z")

</div>

Ok, thanks! I thought it was the same. I will try it on the automatic build.   
  
 Regards Roland
