DevOps & Cloud Tools
Cron Expression Parser & Generator
Explain any cron expression and list the next run times.
Cron expression
5 fields: minute hour day month weekdayField breakdown
- Minute
- */15 — at minutes 0, 15, 30 and 45
- Hour
- 9-17 — in hours 09, 10, 11, 12, 13, 14, 15, 16 and 17
- Day of month
- * — every day of the month
- Month
- * — every month
- Day of week
- 1-5 — on mon, tue, wed, thu and fri
Next run times
0 shown, local timezoneGenerator
build an expression from a schedule*/15 9-17 * * 1-5About Cron Expression Parser
A cron expression compresses a schedule into five fields: minute, hour, day of month, month and day of week. The syntax is compact enough to write quickly but cryptic enough that reviewing it later requires care, especially when day of month and day of week are combined, because those fields are combined with OR rather than AND.
This parser describes each field in plain English, flags the values it found, and computes the next run times from your current timezone. A generator mode covers the schedules that appear in practice most often, from every five minutes to the first weekday of the month.
How it works
- The expression is validated field by field, including ranges, steps and lists.
- Each field is translated into a short human description.
- The next run times are computed by advancing minute by minute through the calendar.
- Day of month and day of week are combined with OR semantics, as the cron specification requires.
- Generator mode produces standard expressions for common schedules such as hourly, nightly and weekly.
- Named values such as JAN, SUN and MON are accepted alongside numbers.
Input and output
Accepts
A five-field cron expression, or a frequency choice in generator mode.
Produces
A plain-English description, the parsed fields, and the next run times in your local timezone.
Privacy
Parsing and schedule computation run entirely in your browser.
Cron Expression Parser FAQ
Why does my job run on unexpected days?
When both day of month and day of week are restricted, cron runs the job when either field matches. The common fix is to restrict only one of them.
What does */5 mean?
It means every fifth value of that field. In the minute field, */5 is every five minutes.
What is the difference between five-field and six-field cron?
Five fields start with minutes. Systems such as Quartz and some cloud schedulers add a seconds field at the front, which changes the meaning of every position.
Which timezone does cron use?
Classic crontab uses the system timezone. Scheduled jobs in cloud platforms often run in UTC, so always confirm the platform default before relying on a local time.
Related developer tools
Timestamp Converter
Convert between epoch time and readable dates in both directions.
Kubernetes YAML Generator
Generate Kubernetes manifests with matching selectors and labels.
IP Subnet Calculator
Compute network, broadcast, host range and masks for any CIDR.