| name |
description |
license |
tags |
| scheduler |
Create, manage, and optimize scheduled tasks and recurring jobs. Supports cron expressions, interval-based triggers, time zone handling, and dependency chains between jobs. Use for automating periodic workflows. |
MIT |
--- scheduling automation cron jobs workflow |
Scheduler
Overview
Create and manage scheduled tasks, recurring jobs, and time-based automation workflows with support for cron expressions, interval triggers, timezone handling, and job dependency chains.
When to Use
- When setting up periodic data sync or ETL jobs
- When automating recurring reports, backups, or cleanup tasks
- When managing multiple dependent jobs that must run in sequence
- When needing timezone-aware scheduling across distributed systems
- When converting natural language schedules to cron expressions
Instructions
- Accept job specification: name, trigger type (cron/interval/one-time), schedule expression, timezone, and command/webhook to execute.
- Validate cron expression or interval: check syntax, resolve next 5 execution times for confirmation.
- Handle timezone conversion: normalize all schedules to UTC internally.
- Check for schedule conflicts: flag overlapping jobs that could cause resource contention.
- Set up job dependencies: if job B depends on job A, configure B to trigger only after A completes successfully.
- Configure retry policy: max retries, backoff strategy, failure notification.
- Generate job configuration in target format (GitHub Actions workflow, cron file, or platform-specific scheduler).
- Return job summary: name, next 5 run times, dependencies, retry policy.
Environment
DEFAULT_TIMEZONE=UTC
MAX_RETRIES=3
BACKOFF_STRATEGY=exponential
CONFLICT_CHECK=true
NOTIFY_ON_FAILURE=true
Examples
Input:
job_name: daily-report-generator
schedule: "0 9 * * 1-5"
timezone: America/New_York
command: python generate_report.py
depends_on: data-sync-job
retries: 2
Output:
Scheduled Job Created: daily-report-generator
Cron: 0 9 * * 1-5 (America/New_York -> 14:00 UTC)
Next runs:
Mon Feb 19 09:00 EST (14:00 UTC)
Tue Feb 20 09:00 EST (14:00 UTC)
Wed Feb 21 09:00 EST (14:00 UTC)
Dependency: waits for data-sync-job completion
Retry policy: 2 retries with exponential backoff
Conflicts: none detected
1---2name: scheduler3description: | name | description | license | tags |4---5| name | description | license | tags |6|------|-------------|---------|------|7| scheduler | Create, manage, and optimize scheduled tasks and recurring jobs. Supports cron expressions, interval-based triggers, time zone handling, and dependency chains between jobs. Use for automating periodic workflows. | MIT | --- scheduling automation cron jobs workflow |89# Scheduler1011## Overview1213Create and manage scheduled tasks, recurring jobs, and time-based automation workflows with support for cron expressions, interval triggers, timezone handling, and job dependency chains.1415## When to Use1617- When setting up periodic data sync or ETL jobs18- When automating recurring reports, backups, or cleanup tasks19- When managing multiple dependent jobs that must run in sequence20- When needing timezone-aware scheduling across distributed systems21- When converting natural language schedules to cron expressions2223## Instructions24251. Accept job specification: name, trigger type (cron/interval/one-time), schedule expression, timezone, and command/webhook to execute.262. Validate cron expression or interval: check syntax, resolve next 5 execution times for confirmation.273. Handle timezone conversion: normalize all schedules to UTC internally.284. Check for schedule conflicts: flag overlapping jobs that could cause resource contention.295. Set up job dependencies: if job B depends on job A, configure B to trigger only after A completes successfully.306. Configure retry policy: max retries, backoff strategy, failure notification.317. Generate job configuration in target format (GitHub Actions workflow, cron file, or platform-specific scheduler).328. Return job summary: name, next 5 run times, dependencies, retry policy.3334## Environment3536```37DEFAULT_TIMEZONE=UTC38MAX_RETRIES=339BACKOFF_STRATEGY=exponential40CONFLICT_CHECK=true41NOTIFY_ON_FAILURE=true42```4344## Examples4546**Input:**47```48job_name: daily-report-generator49schedule: "0 9 * * 1-5"50timezone: America/New_York51command: python generate_report.py52depends_on: data-sync-job53retries: 254```5556**Output:**57```58Scheduled Job Created: daily-report-generator59Cron: 0 9 * * 1-5 (America/New_York -> 14:00 UTC)60Next runs:61 Mon Feb 19 09:00 EST (14:00 UTC)62 Tue Feb 20 09:00 EST (14:00 UTC)63 Wed Feb 21 09:00 EST (14:00 UTC)64Dependency: waits for data-sync-job completion65Retry policy: 2 retries with exponential backoff66Conflicts: none detected67```