Cron Expression Explainer
Translate a cron expression into plain English and see the next few times it would run.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Cron Expression Explainer does
The cron expression explainer on this page will translate a cron expression into plain English and see the next few times it would run. Paste your text in, pick the options you need, and copy the result straight back out. It is most often used for working out what an unfamiliar crontab line does. For a second version of this cron expression explainer, see FreeToolsWorld.org.
How to use it
- Paste a cron expression.
- Read the field-by-field breakdown and the plain-English summary.
- Check the next scheduled runs against what you expected.
How it works
The five fields are minute, hour, day of month, month and day of week, in that order. A sixth field at the front is a seconds field, used by some schedulers including Quartz and several cloud platforms but not by standard Unix cron; this tool drops it and parses the remaining five.
The behaviour that catches almost everyone: when both day-of-month and day-of-week are restricted, standard cron treats them as OR rather than AND. "0 0 13 * 5" runs on the 13th of every month AND on every Friday — not only on Friday the 13th. If you need an AND, you have to check the date inside the job.
Day of week numbering starts at 0 for Sunday, and 7 is also accepted for Sunday in most implementations. Month and day-of-week accept three-letter names in many versions, though numeric values are more portable.
Cron runs in the server's timezone, which is the other common source of surprise. A job scheduled for 02:30 either runs twice or not at all on the days daylight saving shifts, depending on the direction. Schedule anything critical outside the 01:00 to 03:00 window, or run the server in UTC.
When to use it
- Working out what an unfamiliar crontab line does.
- Checking a schedule before deploying it.
- Debugging a job that runs more or less often than intended.
- Learning cron syntax.
Common mistakes to avoid
- Restricting both day-of-month and day-of-week and expecting an AND. Cron uses OR.
- Forgetting that cron uses the server timezone, not yours.
- Scheduling across the daylight saving transition window.
Frequently asked questions
What do the five cron fields mean?
Minute, hour, day of month, month, day of week. A sixth field at the front means seconds in some schedulers but not in standard Unix cron.
Does "0 0 13 * 5" mean Friday the 13th?
No. Standard cron treats restricted day-of-month and day-of-week as OR, so it runs on the 13th of every month and on every Friday. For Friday the 13th you need a date check inside the job.
What timezone does cron use?
The server's, unless the crontab sets CRON_TZ or TZ. That is why a job scheduled near 02:00 behaves oddly on daylight saving transition days.