scheduled-jobs

Automate ServiceNow scheduled job creation and management with ES5 scripts.

77|23|Updated Jul 16, 2025
One-click install
npx skills add https://github.com/serac-labs/serac --skill scheduled-jobs-serac-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scheduled-jobs
Source: https://github.com/serac-labs/serac/tree/main/packages/opencode/src/bundled-skills/scheduled-jobs
Command: npx skills add https://github.com/serac-labs/serac --skill scheduled-jobs-serac-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Recurring maintenance, batch processing, and scheduled script execution are streamlined by providing a ready-to-use framework to create, configure, and monitor ServiceNow scheduled jobs.

Core Features & Use Cases

  • Automates recurring tasks, batch processing, and maintenance operations within ServiceNow using ES5-based scripts and MCP tools.
  • Supports common job types such as Scheduled Script Execution, Report Scheduler, Table Cleaner, LDAP Refresh, and Discovery for automation at scale.
  • Use Case: Build nightly data cleanup, regular report generation, or periodic synchronization tasks across multiple tables with auditable runs.

Quick Start

Create a daily scheduled job named 'Nightly Cleanup' that runs at 02:00 and executes a cleanup script.

Frequently Asked Questions about scheduled-jobs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate recurring ServiceNow scheduled jobs using ES5 scripts?

ServiceNow scheduled jobs are automated using ES5-based scripts and MCP tools like snow_schedule_job to configure recurring tasks, batch processing, and maintenance operations with auditable runs. It enforces structured frontmatter for safe execution and discovery.

What types of scheduled tasks can I automate in ServiceNow?

Scheduled tasks in ServiceNow include Scheduled Script Execution, Report Scheduler, Table Cleaner, LDAP Refresh, and Discovery. These common job types support automation at scale for nightly data cleanup, regular report generation, or periodic synchronization tasks across multiple tables.

Can I use MCP tools to manage batch processing and scheduled script execution in ServiceNow?

MCP tools manage batch processing and scheduled script execution in ServiceNow through snow_schedule_job, snow_find_artifact, snow_edit_artifact, and snow_execute_script_with_output. These tools enable safe creation, configuration, and monitoring of recurring maintenance jobs.

Do I need structured frontmatter when creating ServiceNow scheduled jobs?

Structured frontmatter is required when creating ServiceNow scheduled jobs for proper discovery and safe execution. The framework enforces this structure to streamline the creation, configuration, and monitoring of recurring maintenance and batch processing operations.

What's the best way to set up a nightly data cleanup job in ServiceNow?

Nightly data cleanup in ServiceNow is set up by creating a scheduled job with a defined execution time, such as 02:00, and attaching a cleanup script. The framework supports regular report generation and periodic synchronization tasks across multiple tables with auditable runs.

Why does my ServiceNow scheduled script execution require ES5 instead of modern JavaScript?

ServiceNow scheduled script execution requires ES5 because the platform's server-side scripting environment operates on ES5 standards. This ensures compatibility for recurring tasks, batch processing, and maintenance jobs across common ServiceNow tables and services.