Cron Expression Generator
Choose a preset such as every 15 minutes, daily or weekly, or type your own five-field expression. The next run times are listed so you can check the schedule.
- Pick a preset or type an expression
- Adjust the time, day or step
- Check the next run times and copy
Your files never leave your device
Writing a cron schedule
A cron expression tells a server when to run a job, using five fields separated by spaces. Pick a preset such as every 15 minutes, daily, weekly or monthly, adjust the time and day, or type your own expression. The tool lists the next run times so you can confirm the schedule before you use it.
- Five fields in order: minute, hour, day of month, month and day of week.
- An asterisk means every value, a slash sets a step (*/15), a comma makes a list and a dash makes a range.
- The run times are shown in your own time zone, while your server may use another one such as UTC.
A worked example
The expression */15 * * * * runs every 15 minutes, because */15 in the minute field means minutes 0, 15, 30 and 45. The expression 30 2 * * 1 runs at 02:30 every Monday, since day of week 1 is Monday. And 0 9 1 * * runs at 09:00 on the first day of each month.
Check the list of next run times after typing. If you expected Monday at 02:30 and the first line shows another day, a field is in the wrong place.
Common mistakes
When both day of month and day of week are set, standard cron runs the job when either one matches, which is not what many people expect. Leave one of them as an asterisk unless you want that behaviour. Also check the time zone: the preview uses your device, while the server often uses UTC.
This generator uses the classic five-field format. Seconds and shortcut words such as @daily are not supported, though three-letter names for days and months like MON or JAN are.
Frequently asked questions
What do the five fields mean?
Minute (0-59), hour (0-23), day of month (1-31), month (1-12) and day of week (0-6, Sunday is 0).
What if I set both day of month and day of week?
Standard cron runs when either one matches. Leave one field as an asterisk if you want only the other to apply.
Which time zone is used?
The preview uses your device time zone. The server decides the real one.
Are names like MON or JAN allowed?
Yes, three-letter day and month names work.
Does it support seconds or special words like @daily?
No. It uses the classic five-field format.
Is anything uploaded?
No. Everything is calculated on your device.