Post last updated on July,1st 2009
For Windows Server 2003 and 2008.
I created a management pack, which discovers scheduled tasks and monitors them for successful execution as well as if they have a working schedule configured. On Windows 2003, the output of the schtasks.exe command is parsed. On Windows 2008 however; the Task Scheduler 2.0 library is used.
The object type ‘Windows Scheduled Task’ can be used in Distibuted Applications or to further categorize scheduled tasks by writing other management packs.
Scheduled Tasks and AT tasks on Windows 2003 and 2008 Server
Server 2008 supports any OS language. On Server 2003 the following:
English, Dutch, German, French, Italian, Portuguese and Spanish
Last exit code
Invalid status (anything not 'Running' or NUL)
Next run definition available
Long running task (requires configuration)
Next scheduled execution skipped (task ran too long)
No active triggers defined (Windows 2008 only)
Collect Scheduled Task job duration (if task runs > 1 minute)
Disable Scheduled Task
Enable Scheduled Task
Run Scheduled Task
End Scheduled Task
List all Scheduled Tasks
Scheduled Task state
- Download Windows Task Scheduler Management Pack Guide 188.8.131.52
- Download Windows Scheduled Task Management Pack (sealed) 184.108.40.206 (rename after downloading – it is a zip file)
Due to the significant changes required to get Windows 2008 tasks managed and to incorporate language support for Windows 2003, this version of the MP is not upgrade compatible with the previous ones. Should you have been using the Windows 2003 management pack (Version 220.127.116.11 and below), you need to remove the old one before importing the 18.104.22.168 ones. My apologies for that.