Cron schedule generator
DevNo. 18 / 93
Build a cron expression from five fields, read it back in English and see the next runs. Start from a preset or type each field yourself.
the schedule is the easy part. the time zone is the trap.
work surface
Math, not advice — results are indicative.Read the disclaimer.
most-used utilities
A nightly backup
Daily at 03:00, whatever the day of the week.
A weekday report
Monday to Friday at 09:00, skipping the weekend.
A monthly invoice
The first day of each month, at 06:00, before anyone is awake.
pro tips
Copy the expression into the schedule and then look at the next three runs in the same time zone the server uses. That is the only test that matters.
For work that must not overlap, add a lock in the script. Cron does not care that the previous run is still going.
If the schedule is "every 15 minutes", write it as */15 and not as a list of four numbers: the next person to edit it will read it faster.
what it does
Five fields, five answers: minute, hour, day of month, month and day of week. The expression builds itself as you edit, and the sentence below it says what the schedule means so you can catch a mistake before it reaches the server.
The presets cover the nine schedules people actually need: every minute, every fifteen, hourly, daily at midnight, weekdays at 09:00, a weekly job and the first of the month. Click one and edit the fields it fills in.
Each field accepts the same syntax as the explainer: a number, a range, a list, a step or an asterisk. The generated expression is plain text, ready to paste into a crontab, a GitHub Actions schedule, a Kubernetes CronJob or whatever scheduler your hosting uses.
The next-run list uses your local clock. Before copying the expression into a server, remember that most servers run in UTC: a 09:00 job written in Madrid fires at 08:00 in winter and 07:00 in summer if the server keeps UTC.
quick answers
Does this create the cron job?
No. It generates the expression. Adding it to a crontab or a scheduler is still your job, and so is checking the time zone.
Which syntax is this?
The classic five-field cron used by crontab, GitHub Actions and most schedulers. Systems with a seconds field take six, and this tool does not generate those.
Why does the next run not match my local time?
The preview uses the clock and time zone of the browser. A server in UTC will fire at a different local hour, and daylight saving shifts it twice a year.
Can I use names like MON or JAN?
Not here: the fields take numbers. Monday is 1 and January is 1, so a weekday job is 1-5 and a quarterly one is 1,4,7,10.