Understand your Scheduled Jobs dashboard
Summarize
Summary of Understand your Scheduled Jobs dashboard
The Scheduled Jobs dashboard in ServiceNow provides key health metrics and insights into the status and performance of scheduled jobs on your instance. Accessible viaAll > System Diagnostics > Scheduled Jobs Dashboard, it helps you monitor, troubleshoot, and maintain scheduled jobs effectively.
Show less
Key Features
- Stuck Jobs: Displays scheduled jobs assigned to non-existent nodes, typically due to instance cloning or node removal. These jobs are parent jobs without the Trigger Type "Startup." You can either delete these jobs permanently or recover them by clearing the node assignment, enabling them to run again.
- Permanent Error Jobs: Shows jobs in a "Permanent Error" state, often caused by upgrades or manual settings. These jobs are either parent or standalone jobs assigned to nodes that no longer exist. Actions include deleting or recovering the jobs to set their state back to "Ready."
- Pending Jobs: Lists jobs scheduled to execute soon.
- Running Jobs: Lists jobs currently running.
- Jobs Classification (optional): Allows grouping of jobs based on filter conditions using the Job Classification Rules table, helping organize job history by categories such as Trigger Type or Job Name.
- Total Execution Count: A graphical chart showing the total number of job executions over the last 24 hours (with data available for up to 7 days), sourced from the
sysschedulerjobhistorytable. Clicking on data points reveals detailed job history grouped by classification. - Average Job Wait Time: Displays the average wait time in milliseconds for all scheduled jobs over the last 24 hours (data available for 7 days), also sourced from job history. Clicking the graph shows detailed job records.
- Scheduled Job Trends: A list of completed jobs grouped by classification over the last 24 hours, sourced from job history, allowing analysis of job performance trends.
Key Insights and Usage
- The Stuck Jobs and Permanent Error Jobs tiles help maintain system health by identifying jobs that cannot run due to node issues, allowing cleanup and recovery to keep scheduled jobs in a positive state.
- The Wait Time metric indicates how late a job is compared to its scheduled run time. If the next action time is in the past, wait time equals the current time minus the next action time; otherwise, wait time is zero.
- The dashboard’s historical data focuses on the most recent 7 days, with default views showing the last 24 hours, enabling timely monitoring and troubleshooting.
- Job classification helps organize and analyze job execution patterns and priorities to optimize scheduling and resource allocation.
Visit scheduler dashboard to learn about key health metrics and insights of scheduled jobs.
Navigate to .
| Field | Description |
|---|---|
|
Stuck Jobs |
The scheduled jobs that are pinned to a non-existent node show up here. If a scheduled job is assigned to run on a non-existent node and is a parent job that doesn't have Startup as the
Trigger Type, it is classified under Stuck Jobs. The System ID column states the node that the job was assigned to run. One of the reasons of a job being classified as
Stuck Jobs is if an instance was cloned from another instance and now there are jobs pinned to run on the old instance's nodes. You can take the following actions on the stuck jobs:
|
|
Permanent Error Jobs |
The scheduled jobs which have a State of Permanent Error show up here. If you have upgraded from a pre-Utah version to a more recent version, a fix
script is executed and it sets the scheduled jobs to Permanent Error state if the job was a parent job or a standalone job and picked up to run on a specific node that no longer exists. You can also
set the job state to Permanent Error manually. You can take the following actions on the permanent error jobs:
|
| Pending Jobs | Jobs that are to be executed soon. |
| Running Jobs | Jobs that are actively running. |
| Jobs Classification (optional) | Optional way to group certain jobs based on filter conditions to collect job completion history by the defined group/classification. You can set up these classifications in the Job Classification Rules table. The default classification is TriggerType.JobName. |
|
Total Execution Count |
Graphical representation of the total number of scheduled job executions on your instance over a period of time. The default time period is last 24 hours. You can view the data only from last 7
days. The data originate from the sys_scheduler_job_history table.
Note: When you click on an execution count in the graph, the Scheduled Job History list shows up. The list of jobs have been grouped using Jobs
Classification concept with Trigger Type as either Run Once or Recurring. |
| Average job wait time | Graphical representation of the average wait time in milliseconds of all scheduled jobs on your instance over a period of time. The default time period is last 24 hours. You can view the data only from last 7 days. The
data originates from the sys_scheduler_job_history table. Note: When you click on a wait time average data in the graph, the Scheduled Job History list shows up. The list of jobs have been grouped using Jobs Classification
concept with Trigger Type as either Run Once or Recurring. |
|
Scheduled Job Trends |
List of completed jobs grouped by Job Classification concept. The default time period is last 24 hours. You can view the data only from last 7 days. The data originate from the sys_scheduler_job_history table. |
Scheduled Job Trends
This table provides details on the history of completed jobs by classifications. Default view provides the data for last 24 hours.
| Field | Description |
|---|---|
| Job Classification | Provides a way of grouping similar type of jobs based on job name, trigger type (recurring, run once, etc.). |
|
Priority |
Priority at which the jobs are processed.
Note: The lower the number, the higher is the priority. For example, priority of 10 is higher than 100. |
| Execution Count | Number of times the job has been executed within a timeframe. |
| Average Processing Time(s) | Average time needed to process the jobs. |
| Total Processing Time(s) | Total time needed to process the jobs. |