Cron Expression Generator
Build a crontab schedule field by field or paste an existing expression — get a plain-language explanation and the next five execution times in your timezone. Everything runs in your browser.
What it means
live previewNext 5 executions (your timezone)
Cron field reference
| Field | Values | Notes |
|---|---|---|
| Minute | 0–59 | The minute within the hour the job fires |
| Hour | 0–23 | 24-hour format — 0 is midnight, 23 is 11 PM |
| Day of month | 1–31 | Careful with 29–31: short months skip missing days |
| Month | 1–12, jan–dec | Names are case-insensitive in most implementations |
| Day of week | 0–7, sun–sat | Both 0 and 7 mean Sunday |
The day-of-month / day-of-week trap
The single most common cron mistake: when both the day-of-month and day-of-week fields are restricted, cron does not require both to match — the job runs when either matches. Writing 0 9 1 * 1 hoping for "Mondays that fall on the 1st" actually gives you every Monday plus every 1st of the month. If you need the intersection, keep the cron simple (0 9 1-7 * 1 for the first week on Mondays) and check the date inside the script, or use a scheduler with richer semantics.
Common examples
| Expression | Meaning |
|---|---|
| */15 * * * * | Every 15 minutes |
| 0 */2 * * * | Every 2 hours, on the hour |
| 30 3 * * * | Daily at 3:30 AM — classic backup slot |
| 0 9 * * 1-5 | Weekdays at 9 AM |
| 0 0 * * 0 | Sundays at midnight |
| 0 0 1 * * | First day of every month at midnight |
| 0 8,18 * * * | Twice a day: 8 AM and 6 PM |
| 0 10 * * mon,fri | Mondays and Fridays at 10 AM — names work too |
Related resources
- Scheduled Jobs Recipe — running scheduled jobs in serverless and container environments.
- Deployment Checklist Generator — shipping a scheduler change? Checklist for the deploy.
- Error Budget Calculator — how much cron-job failure your SLO can absorb.