I have a desktop application(C#.NET), where I call a web service.
I need to invoke the C#.NET application from the Windows Task Scheduler, because I have to plan an execution four times a day.
How can I do this?
This question came from our site for professional and enthusiast programmers.
Click the Add Task Button..
Click Next, Select browse...
Find your .exe in your MyDocuments/VisualStudio2008/Porjects/NameOfProject/Debug/bin/yourfile.exe (most likely here)
Follow the wizard to the end.
windows comes with a task scheduler, use that!
considerations: assuming your desktop app can run "headless" and will terminate after execution