Scheduled Task
Monitor Windows scheduled tasks such as backups and get alerted when a task ends with an error code or is disabled.
The Scheduled Task check monitors Task Scheduler on Windows devices. It reports tasks whose last run ended with an error code, disabled tasks if you choose, and the case where no task matches the patterns. Use it, for example, for backup, export, or maintenance tasks that must run reliably. The check ships for Windows x64 and Windows Arm64, queries Task Scheduler through PowerShell, and runs every 15 minutes by default. Linux and macOS are not supported.
Steps
- Go to Devices and open the device.
- Click the Checks tab → Add Check → Scheduled Task.
- Enter the tasks you want to monitor under Task name patterns.
- Click Add Check.
To assign the check to several devices, use a config package.
Settings
Patterns
- Each pattern is compared with the task name and with the full path of folder and name (e.g.
\MyApp\Nightly Export). A task is checked as soon as any pattern matches. - Wildcards follow the PowerShell
-likeoperator:*for any number of characters,?for exactly one character. Matching is case-insensitive. - Empty entries are ignored.
- Without patterns, the check covers all tasks on the device, including built-in Windows tasks. If any of them ends with an error code, the check turns Critical. Add patterns if you only want to monitor specific tasks.
- Disabled tasks are skipped by default. A pattern that only matches disabled tasks therefore leads to the warning "No tasks matched the patterns" while Include disabled tasks is off.
Results
Each checked task gets its own status. The overall check result is the worst status across all tasks.
For each task the check shows the name, folder path, state, last result, and time of the last run. It also reports how many tasks were found. The result view lists at most 50 tasks. The overall status and the number of tasks found still include every checked task.
See also: Set up alerts for a check
Was this helpful?
More in Operating system & services
Crash DetectionLogged-on UserPending RebootCPU LoadStill need help? Ask the team