Cron Expression Explainer & Next Run Calculator
Translate 5-field cron expressions into plain English and preview the next 8 execution dates.
How Cron Schedule Explainer Works & Calculation Reference
Parses standard 5-field cron expressions (minute, hour, day-of-month, month, day-of-week), translates them into clear English, and calculates the next 8 scheduled run times.
Accuracy & Formula
Supports lists (1,15), ranges (1-5), steps (*/15), and common presets like weekdays at 9 AM or first day of the month.
Worked Example
Expression "0 9 * * 1-5" means "At 09:00, Monday through Friday" and lists the upcoming Monday–Friday morning timestamps.
Standard 5-Field Crontab Anatomy
From left to right, standard Linux, GitHub Actions, and Kubernetes CronJobs read: Minute (0–59), Hour (0–23), Day of Month (1–31), Month (1–12), and Day of Week (0–6, where 0 or 7 represents Sunday). Cloud schedulers typically execute in UTC regardless of your laptop’s local time zone.
The Classic DOM + DOW OR-Logic Trap
In Vixie cron implementations, when both Day-of-Month and Day-of-Week are set to non-wildcard values (e.g., "0 0 13 * 5"), the job runs if EITHER the 13th OR a Friday occurs—not only Friday the 13th. Always inspect the Next 8 Run Dates preview before deploying production jobs.
Top 8 DevOps Cron Expression Patterns
Commonly used 5-field schedules for CI pipelines, database backups, and report jobs.
| Cron Expression | Plain English Meaning | Typical Use Case |
|---|---|---|
| * * * * * | Every minute | Heartbeats & queue polling |
| */5 * * * * | Every 5 minutes | Cache warming & health checks |
| 0 * * * * | At minute 0 of every hour | Hourly metric rollups |
| 0 0 * * * | Daily at 00:00 (Midnight) | Nightly database snapshots |
| 0 9 * * 1-5 | Weekdays (Mon–Fri) at 09:00 | Morning standup digest emails |
| */15 9-17 * * 1-5 | Every 15m during 9–5 weekdays | Business-hours sync workers |
| 0 0 * * 0 | Weekly on Sunday at 00:00 | Weekly log rotation & pruning |
| 0 0 1 * * | Monthly on the 1st at 00:00 | Monthly billing & invoice runs |
Cron Schedule Explainer — Frequently Asked Questions
Does this support standard 5-field Linux/Kubernetes crontab syntax?
Yes. Field order is Minute (0-59), Hour (0-23), Day of Month (1-31), Month (1-12), and Day of Week (0-6 where 0 and 7 are Sunday).
How are day-of-month and day-of-week combined when both are restricted?
Following Vixie cron semantics, if both DOM and DOW are non-wildcard, a date matches when either condition is satisfied.
Why check UTC vs Local Time?
GitHub Actions, AWS EventBridge, and Kubernetes CronJobs run in UTC by default, so checking UTC avoids off-by-hours surprises.