Skip to main content
Calnex LogoCalnex
Conversion

Cron Expression Generator

Parse a standard 5-field Cron expression into an English and Chinese explanation with the next five matching local times, or assemble an expression from five field inputs.

Real-time Results

Human-Readable Explanation

Minutes (0 - 59): every 5 minutes starting from 0
Hours (0 - 23): any hour between 12 and 14
Day of Month (1 - 31): every day of month
Month (1 - 12): every month
Day of Week (0 - 7, 0/7=Sun): Monday – Friday

Upcoming Execution Timeline

=== NEXT 5 SCHEDULED EXECUTION TIMES ===

[Execution #1]: 11/16/2026, 12:00:00 PM
[Execution #2]: 11/16/2026, 12:05:00 PM
[Execution #3]: 11/16/2026, 12:10:00 PM
[Execution #4]: 11/16/2026, 12:15:00 PM
[Execution #5]: 11/16/2026, 12:20:00 PM

How it works

Decode a 5-field Cron expression into readable text and the next five matching local timestamps, or build an expression from minute, hour, day, month and weekday fields. Useful for checking scheduler syntax before deploying a job.

Why does the timeline show no matching times?

The search advances the local clock by skipping to the next month, day, hour or minute as needed and stops after 100000 iterations. An expression that matches rarely, such as a specific day-of-month combined with a narrow month range, can exhaust that budget before five matches are found, and the result then reports that no times were found within limits. The explanation is still produced from the field text.

How are day-of-week 7 and step ranges handled?

Day of week accepts 0 through 7, and 7 is normalized to 0 (Sunday). A bare step such as */2 in day of week starts at 0 and stops at 6, so 7 is not separately enumerated; an explicit range such as 0-7/2 uses the range end, and any 7 is normalized to 0. In other fields a step without an explicit range starts at the field minimum and runs to the field maximum, while a step with a single start value (e.g. 5/10) starts at that value and runs to the field maximum.

Does the explanation validate field values?

Validation only checks that parse mode has a non-empty expression with exactly five whitespace-separated parts, or that all five generator fields are non-empty. Out-of-range numbers and malformed tokens are not rejected, so the explanation and timeline may not reflect what you intended. Check the generated expression and timeline before relying on it.

Examples and interpretation(2)

How do I decode a weekday 9 AM schedule?

  1. Enter mode Parse & Decode Expression and Cron Expression 0 9 * * 1-5.
  2. The five fields are minute 0, hour 9, day-of-month *, month *, day-of-week 1-5. The explanation reads minute 0 past hour 9, every day of month, every month, Monday through Friday.

The expression fires once per weekday at 09:00 local time. The timeline depends on the machine clock, so it is not a fixed calendar list.

How do I build a quarter-hour weekday business-hours expression?

  1. Set mode Interactive Cron Generator, Minutes */15, Hours 9-17, Day of Month *, Month *, Day of Week 1-5.
  2. The fields join in order to give */15 9-17 * * 1-5, with the step starting at minute 0 and hours running from 9 through 17.

The job runs at minutes 0, 15, 30 and 45 from 09:00 to 17:45 on weekdays. The last run is 17:45, not 18:00, because hour 18 is outside the range.

Inputs

ParameterDefinition & Valid Bounds
Operation Mode

Parse & Decode Expression · Interactive Cron Generator

Formula

Expression = minute hour day-of-month month day-of-week; each field accepts *, lists (a,b), ranges (a-b) and steps (range/step). Next times are found by advancing a local clock, skipping ahead by month, day, hour or minute as needed, until five matches are found or 100000 iterations are reached.

How to use

  1. Choose Operation Mode: Parse & Decode Expression or Interactive Cron Generator.
  2. In parse mode, type a 5-field expression such as */5 12-14 * * 1-5 into Cron Expression.
  3. In generate mode, fill Minutes (0-59), Hours (0-23), Day of Month (1-31), Month (1-12) and Day of Week (0-7, 0/7=Sunday).
  4. Read the Human-Readable Explanation for the English and Chinese decoding.
  5. Review the Upcoming Execution Timeline for the next five matching local times.

Frequently asked questions

What do the five Cron fields mean in order?

Minute (0-59), hour (0-23), day of month (1-31), month (1-12) and day of week (0-7, with 0 and 7 both Sunday). The generator joins them with single spaces in that order.

Why does the explanation mention both English and Chinese?

The explanation result always contains an English line and a Chinese line decoded from the same fields. Both are generated from the expression text, not from a translation service.

Is the upcoming timeline in UTC?

No. The timeline is computed from the local clock of the browser running the tool and formatted with the local locale, so the same expression can show different timestamps on different machines.

Back to ConversionAll Calculators