Scheduled command line application
-
Hi, I've written a command line application that I need to run every couple of minutes. I've used the Windows Task Scheduler as a quick and easy way of calling the application but the problem is that the window is displayed every time the application is called. Is there any way of telling the Windows Task Scheduler not to display the window or can I change my application so it does not show a window as it's executing? Thanks :)
-
Hi, I've written a command line application that I need to run every couple of minutes. I've used the Windows Task Scheduler as a quick and easy way of calling the application but the problem is that the window is displayed every time the application is called. Is there any way of telling the Windows Task Scheduler not to display the window or can I change my application so it does not show a window as it's executing? Thanks :)
weywe47k37 wrote:
Is there any way of telling the Windows Task Scheduler not to display the window
I don't know, but I think it is not possible.
weywe47k37 wrote:
or can I change my application so it does not show a window as it's executing?
You can do that, but probably not with a console application. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
-
Hi, I've written a command line application that I need to run every couple of minutes. I've used the Windows Task Scheduler as a quick and easy way of calling the application but the problem is that the window is displayed every time the application is called. Is there any way of telling the Windows Task Scheduler not to display the window or can I change my application so it does not show a window as it's executing? Thanks :)
-
Hi, I've written a command line application that I need to run every couple of minutes. I've used the Windows Task Scheduler as a quick and easy way of calling the application but the problem is that the window is displayed every time the application is called. Is there any way of telling the Windows Task Scheduler not to display the window or can I change my application so it does not show a window as it's executing? Thanks :)
You can take a look at the Guadagno Task Scheduler, an article here on CodeProject. http://www.codeproject.com/useritems/Guadagno_Task_Scheduler.asp. This application is a pluggable Task Scheduler that lets you write your own task to schedule. It comes with a RunCommand plug-in that provides the scheduling for Command Line files.
Here are some of my articles. Hope this helps! Joseph Guadagno http://www.josephguadagno.net