also how can you tell if it is running, enabled/disabled, etc.?
Right-click the Task Scheduler service, and then click Properties. On the General tab, make sure that the startup type is set to automatic, and that the service status is Started. If the service is not running, click Start.
To view a list of tasks that you scheduled by using the at command, type the at \\computername line, and then press ENTER. To view a specific scheduled task, type the at \\computername id command, and then press ENTER.
There is a Task Scheduler API that you can use to access information about tasks. (It is a com library, but you can call it from C# using pinvokes)
There is an article on codeproject that provides a .net wrapper for the API.
[There is also the schtasks command - more info]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With