Windows Scheduled task monitor (with alerting).
There are documented issues with this plugin which is mentioned in both these links
www.site24x7.com/community/monitor-windows-scheduled-tasks
www.site24x7.com/community/windows-scheduled-task
Currently error is displayed
Execution Error :: ERROR: The system cannot find the file specified.You cannot call a method on a null-valued expression.At C:\Program Files (x86)\Site24x7\WinAgent\monitoring\Plugins\ScheduledTask\ScheduledTask.ps1:68 char:9+ $temp = ($jobDetails | Select-String -Pattern $atribute| Sele ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + F
Hi,
Please confirm if the task name mentioned in the script file (variable name is $taskName) is as per the below format. In the Task Scheduler,
- If the Location contains only '\', mention the task name in the script as name of the task alone.
- If the Location is like '\Apple' and the name of the task is 'Test1', mention the task name in the script as '\Apple\test1'.
Hope this helps. Let us know for further questions, if any, in the below thread.
Regards,
Hisham Thorakkal