Config generators
Cron expression builder & explainer
Check a cron schedule before it goes into a crontab, backup script or container: read it in plain English and see exactly when it will run next.
At 03:00
Next 5 runs (UTC)
# crontab -e 0 3 * * * /path/to/command
How to use it
- Type or paste a five-field expression, or start from a preset.
- Pick the UTC offset of the machine that runs it (cron uses the system timezone; many containers run in UTC).
- Check the description and the next run times, then copy the line into crontab -e.
Formula and method
┌ minute (0–59) ┌ hour (0–23) ┌ day of month (1–31) ┌ month (1–12 or jan–dec) ┌ day of week (0–7, 0 and 7 = Sunday, or sun–sat) * any value a,b list a-b range */n every n-th a-b/n every n-th within a range @hourly @daily @weekly @monthly @yearly = 0 * * * * · 0 0 * * * · 0 0 * * 0 · 0 0 1 * * · 0 0 1 1 * if day of month AND day of week are both set, a day matches when EITHER matches
- This follows standard Linux cron (Vixie cron / cronie). Quartz, Kubernetes and some job schedulers use other formats (seconds field, ? and L).
- The timezone here is a fixed offset; around daylight-saving changes a job can run twice or not at all on the real machine.
Worked example
*/15 9-17 * * 1-5 runs at minutes 0, 15, 30 and 45 of every hour from 09 to 17, Monday to Friday. From Friday 16:50 the next runs are 17:00, 17:15, 17:30, 17:45 and then Monday 09:00.
FAQ
Why did my job run on the wrong days?
When both day-of-month and day-of-week are restricted, cron runs the job when either one matches. "0 0 13 * 5" runs on every 13th and on every Friday, not only on Friday the 13th.
Which timezone does cron use?
The timezone of the system (or container) running cron. Docker containers often default to UTC; set TZ or the host timezone if you need local times.
How do I run a job every 90 minutes?
Steps only divide a single field, so 90 minutes needs two lines, e.g. "0 0-21/3 * * *" and "30 1-22/3 * * *", or a systemd timer.
Related tools
- Docker Compose generator — Build a clean compose.yaml service — image, ports, volumes, environment, restart policy — with correct YAML quoting.
Formulas reviewed November 27, 2026 by Novian · runs entirely in your browser · methodology