What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

PRTG – Advanced Scheduled Task Sensor




In order to monitor the state of the Scheduled Tasks from different servers we need to implement a custom check based on a PowerShell script. Reading the official documentation, the PS script need to be copied to the PROB server first: "This list shows all files available in the corresponding \Custom Sensors\EXEXML sub-directory of the probe system's PRTG program directory (see Data Storage ). To appear in this list, please store the files into this folder ending in BAT, CMD, DLL, EXE, PS1, or VBS."

Source: https://www.paessler.com/manuals/prtg/exe_script_advanced_sensor

We would like to have a detailed configuration and explanation how to set it up because we do not manage the server probe. We need to communicate the exact steps to our partner.

Is the script useful from URL https://mycloudrevolution.com/2016/09/15/prtg-advanced-scheduled-task-sensor/ (PRTG-ScheduledTask.ps1)

Thx in advanced

prtg scheduledtask script

Created on Aug 28, 2019 9:32:34 AM

1 Reply



Hi Sebastien

First, what do you want to check with the scheduled task sensor? last Run and last run result i assume? Thats exactly what the "PRTG-ScheduledTask.ps1" from the link you provided does.

So the script needs to be on the PROBE server which monitors YOUR enviroment (if you have agents, only there and not on the main server/probe). Usually in the folder: C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML

After you copied it there, you can create a new sensor on the device you want to monitor for Tasks. A new "EXE/script Advanced" sensor, choose the PS1 script you copied there in the step above and follow the manual (https://mycloudrevolution.com/2016/09/15/prtg-advanced-scheduled-task-sensor/) you provided in your question.

regards Thomas

Created on Sep 4, 2019 4:02:58 PM

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.