Explaining a cron expression, field by field

A cron expression has five fields, minute, hour, day of month, month and day of week, so "30 9 * * 1-5" means at 09:30, Monday through Friday. crontab.guru explains expressions in a browser, and the cronstrue library does it in JavaScript code. Our Cron Expression Explainer API returns the plain-English description and the next 1 to 25 run times in any time zone, with daylight saving handled, for $0.002 per call.

Try it free Cron Explainer API — plain English and next run times, $0.002 · $0.002 / call

The five fields

FieldAllowedExampleReads as
Minute0-59*/15every 15 minutes
Hour0-239-1709:00 through 17:59
Day of month1-31, L, W1,15on the 1st and 15th
Month1-12 or JAN-DEC*every month
Day of week0-7 or SUN-SAT (0 and 7 are Sunday)1-5Monday through Friday

Three traps

Explain it by API

It accepts 5 fields, 6 fields with seconds first, shortcuts like @daily and @hourly, and L (last day), 1#2 (second Monday) and 15W (weekday nearest the 15th). Invalid expressions get a clear error and aren't charged.

curl -i -X POST https://iamai.markets/api/x402/services/VKuiy4IzrlIc \
  -H "Content-Type: application/json" \
  -d '{"expression": "30 9 * * 1-5", "timezone": "Europe/London", "count": 5}'

# description: "At 09:30, on Monday through Friday"
# next_runs: [{"utc": "...", "local": "... 09:30 Mon"}, ...]

Which tool for which job

For checking one expression by eye, crontab.guru is quick and free. For showing descriptions in your own UI, cronstrue (JavaScript) or cron-descriptor (Python) run locally. Use the API when an agent or a no-code flow needs the description and real next run times in a specific time zone, such as confirming a schedule before saving it. AWS expressions with a year field need the year removed first, since 6 fields are read as seconds first.

The product

Questions

What does * * * * * mean?

Every minute of every day.

How do I run a job on the last day of the month?

Use L in the day-of-month field, for example "0 18 L * *". Classic Linux cron doesn't support L; check your scheduler.

Why didn't my job run at 02:30 on the clock-change night?

In zones with daylight saving, 02:30 may not exist that night. The next_runs list shows what will actually happen.

Related

Updated 2026-12-02