I tried setting up triggers in Task Scheduler Windows Server 2008, but Microsoft needs to fix a bug that I documented on Stack Overflow. So I can't use triggers until they fix this bug. Basically the Task Scheduler doesn't trigger an event that has a Result Code of 2147942402.
In the mean time, I'd like to write a task that runs .NET code that queries the log/event files programmatically every 15 minutes and sends success/failure emails based on the events that occured for the given tasks in task scheduler.
Here's where the XPath is stored for the Task Trigger XML tab (that I can't rely on):
I cannot find where the events (or log files containing the event ids) of each task are stored. Does anyone know where to find these log files?
The log name is "Microsoft-Windows-TaskScheduler/Operational".