What does this cron expression mean?
Paste a cron schedule and see it in plain English, with the next times it runs in your time zone.
Cron won’t tell you when this job doesn’t run.
If the server is down, the disk is full or someone edits the crontab, the job just doesn’t start, and nobody hears about it. Add one line to the job and Runbell alerts you when a run is missing.
Cron syntax at a glance
| Field | Allowed values | Example |
|---|---|---|
| Minute | 0–59 | */15 every 15 minutes |
| Hour | 0–23 | 9-17 from 09:00 to 17:59 |
| Day of month | 1–31, L for the last day | 1,15 the 1st and the 15th |
| Month | 1–12 or JAN–DEC | */3 every third month |
| Day of week | 0–7 or SUN–SAT (0 and 7 are Sunday) | 1-5 Monday to Friday |
| Symbol | Meaning |
|---|---|
* | every value |
, | a list: 1,3,5 |
- | a range: 1-5 |
/ | a step: */10 is every 10th value |
# | the nth weekday of the month: 5#2 is the second Friday |
Questions about cron
What do the five fields of a cron expression mean?
From left to right: minute (0-59), hour (0-23), day of month (1-31), month (1-12) and day of week (0-7, where both 0 and 7 are Sunday). A * means every value.
What happens when both day of month and day of week are set?
Standard cron runs the job when either of them matches. For example, 0 9 1 * 1 runs at 09:00 on the 1st of each month and on every Monday.
Which time zone does cron use?
The time zone of the server, unless your cron daemon supports CRON_TZ. That is why this tool lets you pick one: a job set for 03:00 on a UTC server runs at 07:00 in Dubai.
How do I know my cron job actually ran?
Cron does not tell you when a job fails to start. Add one line to the job that pings Runbell, and you get an alert when a run is missing or late.