Windows scheduled tasks monitoring

Monitor the status of scheduled tasks in Windows Task Scheduler using Site24x7's Windows Scheduled Tasks monitoring plugin integration. Leverage the plugin to track the success and failures of executed scheduled tasks and view their current status and metadata so that you can ensure that tasks are executed as planned.

Start 30-day free trial Try now, sign up in 30 seconds
Windows scheduled tasks monitoring

What are Windows scheduled tasks?

Windows scheduled tasks are automated actions or programs set to run at specific times or events. They enable users to automate tasks like backups, updates, and scripts to enhance system efficiency and productivity. Scheduled tasks are managed through the Task Scheduler tool, allowing for precise control and customization of when and how these tasks execute.

Monitor the status of Windows scheduled tasks with Site24x7

Analyze task execution times and identify any performance bottlenecks by tracking metrics like lastRunTime and Start_Date.

Troubleshoot issues faster by promptly identifying failed tasks with metrics like Status and errorCode.

Ensure tasks are running on schedule by monitoring historical records of last run times.

Get alerted when there are anomalies in the expected behavior and take swift corrective action.

Start 30-day free trial Try now, sign up in 30 seconds

Get started with Site24x7's Windows scheduled tasks monitoring tool

Performance Metrics

The following metrics are captured by the plugin integration:

Metric Name Description
lastRunBefore The timestamp of the most recent execution of the scheduled task
author The task's owner
Status The current state of the task
lastRunTime The previous date and time when the task was scheduled
Start_Date The start time of the task execution
errorCode The error code associated with the previous instance of the scheduled task

Setup

  • Supported Platforms:

Prerequisites

Ensure you meet the following requirements before installing the plugin:

Installation

  • Create a folder named ScheduledTask.
  • Download the ScheduledTask.ps1 and ScheduledTask.cfg files from our GitHub repository and place them in the ScheduledTask folder.
    wget https://raw.githubusercontent.com/site24x7/plugins/master/ScheduledTask/ScheduledTask.ps1
    wget https://raw.githubusercontent.com/site24x7/plugins/master/ScheduledTask/ScheduledTask.cfg
  • Modify the ScheduledTask.cfg file with the task name to monitor a particular task. To add the task name to the ScheduledTask.cfg file, add the location of the task you want to monitor from the General tab of Windows Task Scheduler followed by a backslash and the task name. For example:
    [Scheduled_task]
    taskName=\OfficeSoftwareProtectionPlatform\SvcRestartTask
  • To monitor multiple scheduled tasks, modify the CFG file accordingly. Here's an example:
    [Scheduled_task1]
    taskName=\OfficeSoftwareProtectionPlatform\SvcRestartTask
    [Scheduled_task2]
    taskName=\Microsoft\Windows\AppId\Work Room
  • Move the ScheduledTask folder to the Site24x7 Windows server monitoring plugin directory:

    C:\Program Files (x86)\Site24x7\WinAgent\monitoring\plugins\

The agent will automatically execute the plugin within five minutes and display the performance data in Site24x7.
To view the plugin monitor and its associated performance charts:
  • Log in to Site24x7.
  • Navigate to Plugins and click the required monitor.

Plugin Contribution

Feel free to contribute to our existing plugin and come up with suggestions or feedback on our Community.

Over 13,000 customers trust Site24x7

Disney Logo
Bajaj Finserv Logo
Ford Logo
GEP Logo
Beyondtrust Logo
Godaddy Logo
SAP Logo
Upland Logo
Disney Logo
Bajaj Finserv Logo
Ford Logo
GEP Logo
Beyondtrust Logo
Godaddy Logo
SAP Logo
Upland Logo
COV Logo
Redmap Logo
Shine Logo
Transurban Logo
NCI Logo
Nano Sonics Logo
Konica Logo
Intigral Logo
COV Logo
Redmap Logo
Shine Logo
Transurban Logo
NCI Logo
Nano Sonics Logo
Konica Logo
Intigral Logo

Check out our 100+ plugin integrations or build your own

Choose from our list of more than 100 ready-to-use plugins and monitor your full stack of applications across web servers, databases, load balancers, and more.

See all plugin integrations
Start 30-day free trial Try now, sign up in 30 seconds