Cron Expression Parser avatar

Cron Expression Parser

Pricing

Pay per usage

Go to Apify Store
Cron Expression Parser

Cron Expression Parser

Parse, validate, explain, and generate cron expressions. Compute next run times.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

2x lazymac

2x lazymac

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

Parse, validate, explain, and generate cron expressions. Compute next scheduled run times.

Features

  • Explain — Human-readable description of any cron expression
  • Validate — Check if a cron expression is syntactically correct
  • Next Runs — Compute the next N scheduled execution times
  • Generate — Build a cron expression from human-friendly options (every day/hour/week/month)
  • Common — List of commonly used cron expressions with descriptions

Input

FieldTypeDescription
actionstringexplain, validate, next, generate, or common
expressionstringCron expression (e.g. */5 * * * *, @daily)
countintegerNumber of next runs to return (1-20, default 5)
fromstringISO 8601 start date for next runs
generateOptionsobjectOptions like { "every": "day", "at": { "hour": 9 } }

Examples

Explain

{ "action": "explain", "expression": "0 9 * * 1-5" }

Next Runs

{ "action": "next", "expression": "*/15 * * * *", "count": 10 }

Generate

{ "action": "generate", "generateOptions": { "every": "week", "at": { "hour": 8, "minute": 30 }, "on": { "day": 1 } } }

Supported Syntax

  • Standard 5-field cron: minute hour day-of-month month day-of-week
  • Ranges: 1-5, Steps: */15, Lists: 1,3,5
  • Named months: JAN-DEC, Named days: SUN-SAT
  • Presets: @yearly, @monthly, @weekly, @daily, @hourly