Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Schedule task for a build (https://www.kinook.com/Forum/showthread.php?t=2270)

teognost 02-08-2007 04:46 AM

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

kinook 02-08-2007 07:40 AM

http://www.kinook.com/Forum/showthread.php?threadid=245

teognost 02-08-2007 12:53 PM

Thanks a lot!

teognost 07-30-2007 10:35 AM

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?

kinook 07-30-2007 10:52 AM

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

teognost 07-30-2007 12:34 PM

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?

kinook 07-30-2007 12:44 PM

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.


All times are GMT -5. The time now is 09:18 AM.


Copyright © 1999-2023 Kinook Software, Inc.