About the Cron Expression Generator
The Cron Expression Generator runs entirely in your browser — your code and data never leave your machine. Paste, click, copy the result.
Cron expressions are five fields that tell Unix-like systems exactly when a job should run: minute hour day-of-month month day-of-week. Writing them by hand is error-prone — one wrong star means your backup runs every minute instead of every night. This builder assembles the expression from dropdowns and explains it back in English so you can verify it before deploying.
How to use this tool
- Pick values for each field, or start from a preset.
- Press Build expression — the cron string and its English meaning appear.
- Copy the expression into your crontab, CI schedule or job config.
- Double-check against the description:
0 0 * * *should read 'daily at midnight', not 'every minute'.
Field reference
| Field | Range | Examples |
|---|---|---|
| Minute | 0–59 | */5, 30 |
| Hour | 0–23 | 9, */2 |
| Day of month | 1–31 | 1, L |
| Month | 1–12 | 1 = January |
| Day of week | 0–7 (0 & 7 = Sunday) | 1-5 = weekdays |
Common gotchas
- In standard cron, combining day-of-month and day-of-week with values runs the job when either matches (not both).
- Minute
*/15runs at :00 :15 :30 :45 — not "15 minutes after every event". - Some systems (Spring, GitHub Actions) use 6 or 7 fields with seconds/year — this builder emits classic 5-field cron.
Who is this tool for?
DevOps engineers writing crontabs, developers scheduling background jobs, and anyone who has ever accidentally scheduled a script to run every minute.
Developer tip
Always test with a harmless echo job first, and log timestamps — cron silently ignores failures unless you configure output.