>>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