Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When trying to set up my Scheduled Task, I don't see an option to handle failures? Is there functionality that I'm missing?

What I would like to have is an email notification when a scheduled task does not execute successfully.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

There is no native way to do this in 2003. This functionality appeared in 2008 onwards. There are some 3rd party solutions, and you could script your own solution to parse through the Result of each scheduled task (using schtasks).

share|improve this answer
2  
Or parse the event logs. –  John Gardeniers Sep 1 '10 at 20:12

you can set up a wmi subscription and consumer to the specific event in question to respond to failures. See Creating WMI Permanent Event Subscriptions Using MOF for an example. If your stuck on 2003 that's about your only option (other than 3rd party tools) however I'd strongly consider an upgrade before then.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.