Cron Configuration
  • Second
  • Minute
  • Hour
  • Day
  • Month
  • Week
  • Year
Result & Run Times
Second Minute Hour Day Month Weekday Year
Field
Cron Expression
Every second
Next 5 run times

Tool Instructions & Cron Knowledge

Features

  • Visual Generation: Automatically assemble complex Cron expressions by intuitively clicking on second, minute, hour, day, month, and week options.
  • Two-way Parsing: Not only can you generate expressions, but you can also directly modify the expression on the right. The tool will instantly parse the human-readable meaning and the next execution times in real-time.
  • Execution Time Prediction: Built-in powerful local Cron engine accurately predicts the next 5 trigger execution times.

Cron Expression Structure

A standard Cron expression consists of 6 or 7 fields (this tool uses the common 6-field format in the Spring ecosystem), separated by spaces:

  • 1st: Second (0-59)
  • 2nd: Minute (0-59)
  • 3rd: Hour (0-23)
  • 4th: Day (1-31)
  • 5th: Month (1-12 or JAN-DEC)
  • 6th: Week (1-7 or SUN-SAT, 1=Sun, ? means unspecified)

Special Symbols

  • *: Represents all possible values (e.g., "every minute" in the minute field).
  • ?: Used only in the "Day" and "Week" fields to mean "no specific value". When you specify "Day", "Week" usually needs to be set to ?, and vice versa.
  • -: Represents a range (e.g., 10-12 means 10, 11, 12).
  • ,: Represents multiple values (e.g., 1,3,5).
  • /: Represents an increment (e.g., 0/15 means starting at 0 and triggering every 15).