Run Script if Task stops RRS feed

  • Question

  • Hi there folks,

    for some weeks I wonder if it is possible to run a script if a scheduled Windows task stops unexpectedly or did not start.

    The idea is that I created a PowerShell script that sends a Mail notification via SMTP if a special service shutdown unexpectedly.
    This works fine for me.

    But now I have the situation I'd like to send a notification mail if a task does not run any longer because I have a special scheduled task for my customers.

    Is there any option to run a script if task state switches to "ready" or "stop"?

    Please advise :)

    • Moved by Bill_Stewart Monday, November 23, 2015 9:17 PM This is not "scripts on demand"
    Sunday, September 20, 2015 9:32 PM

All replies