Get emails from Scheduled task based on exit code
Posted on 2009-04-03
I have been assigned the task of getting scheduled task to send me a email if the exit code is not 0x0 however i have no clue on how to script it, I know i can use blat to send the email. If anyone can point me in the right direction on how to have a batch or vbscript check the exit status of a scheduled task and send a email please let me know.
I am assuming that the batch of vbscript that will be made will be called by the scheduled task.