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
| Field | Allowed | Example | Reads as |
|---|---|---|---|
| Minute | 0-59 | */15 | every 15 minutes |
| Hour | 0-23 | 9-17 | 09:00 through 17:59 |
| Day of month | 1-31, L, W | 1,15 | on the 1st and 15th |
| Month | 1-12 or JAN-DEC | * | every month |
| Day of week | 0-7 or SUN-SAT (0 and 7 are Sunday) | 1-5 | Monday through Friday |
Three traps
- Day of month and day of week together mean OR. "0 0 13 * 5" runs on every 13th and on every Friday, not only on Friday the 13th. Our API adds a note when both are set.
- Time zone. Cron runs in the server's zone, which is often UTC. A job at 09:30 in London is 09:30 UTC in winter and 08:30 UTC in summer.
- Different dialects. Quartz and Spring put seconds first (6 fields, Quartz can add a year). AWS EventBridge uses 6 fields with the year last and needs a ? in one day field.
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
