Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlling the Windows scheduler
Message
From
09/03/2012 14:09:21
 
 
To
09/03/2012 13:52:28
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01535378
Message ID:
01537783
Views:
36
>>In current Windows OSs, At.exe seems to be replaced by SchTasks.exe. The latter seems to use the Task Scheduler 2.0 API. If you Google [.net "task scheduler 2.0 api"] there are some results that might be useful.
>
>So far, the only way to handle all this is schtasks.exe. Also, this returns a different format for Windows 7 and Windows Server 2003. I am about to complete my class now. This handles the listing of all tasks, the properties of each, the start and stop and so on. It also handles the multiple tasks in one task as supported in Windows 7.
>
>It would have been better to benefit from a namespace. But, I do not think there is such in the .NET Framework 4.0.

It seems to have a COM interface, maybe you could use that: http://bartdesmet.net/blogs/bart/archive/2008/02/23/calling-the-task-scheduler-in-windows-vista-and-windows-server-2008-from-managed-code.aspx
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform