Back to Dev Tools

CRON Expression Generator & Tester

Build, validate, and understand CRON expressions for scheduling tasks. Get human-readable descriptions and (soon) see next scheduled runs.

Interpretation

Enter a CRON expression to see its human-readable format.

Load Examples:

Understanding CRON Syntax

FieldAllowed ValuesAllowed Special CharactersDescription
Minute0-59* , - /The minute of the hour the command will run.
Hour0-23* , - /The hour of the day the command will run.
Day of Month1-31* , - / ? L WThe day of the month the command will run.
Month1-12 or JAN-DEC* , - /The month of the year the command will run.
Day of Week0-7 or SUN-SAT (0 and 7 are Sunday)* , - / ? L #The day of the week the command will run.

Special Characters:

  • * (Asterisk): Selects all possible values for a field. E.g., "*" in the hour field means "every hour".
  • , (Comma): Specifies a list of values. E.g., "1,15,30" in the minute field means "at minutes 1, 15, and 30".
  • - (Hyphen): Specifies a range of values. E.g., "9-17" in the hour field means "from 9 AM to 5 PM".
  • / (Slash): Specifies step values. E.g., "*/15" in the minute field means "every 15 minutes".
  • ? (Question Mark): Used in Day of Month or Day of Week to specify "no specific value". Useful when one of these fields is already specified.
  • L (Last): Used in Day of Month or Day of Week. In Day of Month, it means the last day of the month. In Day of Week, "5L" means the last Friday of the month.
  • W (Weekday): Used in Day of Month. "15W" means the nearest weekday to the 15th of the month.
  • # (Hash): Used in Day of Week. "FRI#3" or "5#3" means the third Friday of the month.

Tool Features

âš™ī¸

Intuitive UI

Easily construct CRON expressions with dedicated input fields for each part.

📖

Human Readable

Get an instant, easy-to-understand translation of your CRON expression.

✅

Real-time Validation

Instantly see if your CRON expression is valid and get feedback on errors.

📋

Quick Examples

Load common CRON expression examples with a single click.

đŸ—“ī¸

Next Run Times (Coming Soon)

See the next few times your CRON job is scheduled to run (requires 'cron-parser' or similar).

📚

Comprehensive Guide

Detailed explanation of CRON syntax and special characters.