Cron expression builder and explainer
Pick the minute, hour, day, month and weekday of a scheduled job, or paste an existing cron expression. The tool explains it in plain language and lists the next five run times in your local time zone.
Type or paste five fields, or a shortcut such as @daily
0-59
0-23
1-31
1-12 or jan-dec
0-7 or sun-sat (0 and 7 are Sunday)
In plain language
Next 5 run times (your local time)
No matching time in the next five years.
Runs in your browser. Nothing you type here is sent to Zefily or stored.
How to use it
-
1
Set the five fields with the presets or type your own values. Lists (1,15), ranges (1-5) and steps (*/10) work.
-
2
Read the explanation and the next five run times. Fix any field the tool marks as invalid.
-
3
Copy the expression into your crontab, or into the schedule field of your Zefily job.
Questions
What do the five cron fields mean?
A cron expression has five fields separated by spaces: minute (0-59), hour (0-23), day of the month (1-31), month (1-12 or jan-dec) and day of the week (0-7, where 0 and 7 are Sunday, or sun-sat). A job runs when all five match. When both the day of the month and the day of the week are set, cron runs the job when either one matches.
Which time zone do the run times use?
The next run times are shown in the time zone of your browser. A cron daemon runs jobs in the time zone of the server, usually UTC, so check the server time zone before you copy the expression.
Why did my job run at a different time?
Compare the server time zone with the time you expected, and check that the job did not overlap with a longer run of itself. Cron also runs commands with a short PATH, so give full paths to the programs the job calls.
Can cron run a job every 30 seconds?
Standard cron works in whole minutes. For shorter intervals, run a loop inside a long-running process that the server keeps alive, or use a systemd timer. The cron and daemons guide explains both.
Related guides
Zefily does this for you on your servers
Connect a server and Zefily sets up cron jobs, permissions, redirects, PHP pools and robots rules for your sites, then keeps them in place.