This script generates alert on failure or any starting error of scheduled task in Task Scheduler.
NOTE: Editable variables in script
TASKNAME=r"" #specify your exact task name between the double quotes
Please run the script as custom monitoring script
Comments