There are several community-developped MPs to monitor scheduled tasks out there.
There is one from Raphael Burri : http://rburri.wordpress.com/2008/02/14/windows-scheduled-tasks-management-pack-for-opsmgr-2007/
There is one from Innovativ : http://www.inovativ.nl/pagina/downloads
I also made one to demo OpsMgr capabilities to a customer. It was quite some time ago (Oct 2007), but I never took the chance to share it much, apart on a one-on-one basis with other customers or partners. I’m not saying it’s better than the other Scheduled Tasks MPs, but if it can help in some situations, here it is :-). It’s also a good way to understand how class modeling work in OpsMgr.
- This MP discovers and monitors instances of the Task Scheduler services and the task it is configured to run. The service and the tasks are configured automatically as a parent-child relationship, which makes it easy to see what is going right or wrong:
- Some proactive configuration checks are done at the scheduled tasks level, like : is the account disabled or locked? Does the target executable exist?
- Some tasks are added to help troubleshooting, on top of the existing monitors.
- Some properties are also discovered, like the account of the scheduled tasks. This means that changing the account of a task results in a configuration change, which is easily identified in availability reports (which are available for each instances too, task scheduler and scheduled tasks)
The MP is attached (not sealed) and comes with a guide with some nice screenshots 🙂