Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-08-2007, 05:46 AM
teognost teognost is online now
Registered User
 
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 200
Schedule task for a build

I have created a schedule task for my build from
Tools->CreateScheduledTask.During the automated build some project macros would be changed.
The scheduled task is set to stop automatically if running for a number of n hours (normally should terminate in aprox 1 hour).
Next day when I check the results-scheduled task was executed but the macros are unchanged.
I guess this is because the scheduled task was stopped(after build ended the task still remained as running)and therefore the changed macros were not saved.
So the question is -how can I execute an automated build as scheduled task and after execution to be closed and all the changes saved?
Even if I set the scheduled task not to be stopped after n hours-still the project remains open and the macros are not saved unless I would manually choose to save them with File->Save(and I want to avoid any manual intervention).
Tks for any info
Reply With Quote
  #2  
Old 02-08-2007, 08:40 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
http://www.kinook.com/Forum/showthread.php?threadid=245
Reply With Quote
  #3  
Old 02-08-2007, 01:53 PM
teognost teognost is online now
Registered User
 
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 200
Thanks a lot!
Reply With Quote
  #4  
Old 07-30-2007, 10:35 AM
teognost teognost is online now
Registered User
 
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 200
Another problem appeared with the scheduled task-when the build fails the VB project remains open.Only if the build was succesful the project closes.
How can I make it to close always at the end of build?
Reply With Quote
  #5  
Old 07-30-2007, 10:52 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Invoke the console app rather than the GUI app, or use /s without /f when calling the GUI app.
http://www.visualbuild.com/Manual/consoleapp.htm
http://www.visualbuild.com/Manual/command_linegui.htm
Reply With Quote
  #6  
Old 07-30-2007, 12:34 PM
teognost teognost is online now
Registered User
 
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 200
Thanks for suggestions ,I use now /s without /f when calling the GUI app.
There is one more thing I do not understand-if I change for the scheduled task the user in 'Run As' with an account from the administrator group-the task is run in hidden mode,no interface is visible.
When changin back to the user account currently logged on the box-it runs normally with interface.
Any idea how can I run it normal mode for a different user account than the currently logged one?
Reply With Quote
  #7  
Old 07-30-2007, 12:44 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
By (Windows) design, a scheduled task run by a different account than the logged in user will not display on the logged in user's desktop.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 11:39 AM.


Copyright © 1999-2023 Kinook Software, Inc.