Monitor Scheduled Tasks

  • Thread starter Thread starter Tim Kelley
  • Start date Start date
T

Tim Kelley

Is it possible to monitor the scheduled tasks? I would like to receive some
kind of notification if a scheduled task does not complete successfully.

Thanks.
 
"Tim Kelley" <tkelley@company.com> wrote in message
news:OjmFYGLvHHA.1168@TK2MSFTNGP02.phx.gbl...
> Is it possible to monitor the scheduled tasks? I would like to receive
> some kind of notification if a scheduled task does not complete
> successfully.
>
> Thanks.
>


You would have to embed the command you wish to monitor
in a batch file, then check the ErrorLevel of that command.
If the ErrorLevel is non-zero, use a command-line mailer such
as "blat" (downloadable from several sites) to send yourself an
EMail.
 
Thanks.

"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:uDpfX4LvHHA.4796@TK2MSFTNGP04.phx.gbl...
>
> "Tim Kelley" <tkelley@company.com> wrote in message
> news:OjmFYGLvHHA.1168@TK2MSFTNGP02.phx.gbl...
>> Is it possible to monitor the scheduled tasks? I would like to receive
>> some kind of notification if a scheduled task does not complete
>> successfully.
>>
>> Thanks.
>>

>
> You would have to embed the command you wish to monitor
> in a batch file, then check the ErrorLevel of that command.
> If the ErrorLevel is non-zero, use a command-line mailer such
> as "blat" (downloadable from several sites) to send yourself an
> EMail.
>
 
Back
Top