Cron Expression Tester

Test and validate cron expressions with examples. See when your cron job will run next.

Quick Examples:

Expression Breakdown:

0
Minute
0
Hour
*
Day
*
Month
*
Weekday

Description:

Runs daily at midnight

Next 5 Runs (from now):

    Predictions use standard 5-field cron; 6-field (seconds) syntax is not supported. Times are shown in your browser's local timezone.

    Cron Expression Format:

    * * * * *
    Allowed Values:
    • • Minute: 0-59
    • • Hour: 0-23
    • • Day: 1-31
    • • Month: 1-12
    • • Weekday: 0-7 (0 and 7 = Sunday)
    Special Characters:
    • • * = any value
    • • , = value list separator
    • • - = range of values
    • • / = step values

    About the Cron Expression Tester

    A cron expression tells a scheduler when a job should run. Classic five-field syntax, the dialect used by Linux crontab and most cloud schedulers, is a single line of minute hour day-of-month month day-of-week values. An asterisk matches every allowed value, commas build lists, hyphens create ranges, and a slash steps through a range, so */5 * * * * fires every five minutes and 0 9 * * 1-5 runs at 09:00 on weekdays.

    As you type, this tester validates the field count, maps each field onto the five-slot breakdown strip, and composes a plain-English description of the resulting schedule. It targets the standard five-field format: dialects that add a leading seconds field, such as Quartz or AWS EventBridge schedules with six or seven fields, are rejected as invalid here.

    Two gotchas save real debugging time. First, when both day-of-month and day-of-week are restricted, classic cron treats them as alternatives (either may match) rather than requiring both. Second, the schedule fires in the cron daemon's own timezone, which is not guaranteed to be UTC. Once your expression checks out, inspect auth headers in the JWT Debugger, test matching patterns in the Regex Tester, or tidy job definitions with the JSON Formatter & Validator.

    How to Use the Cron Expression Tester

    1. 1. Type a five-field expression into the Cron Expression input, or click any Quick Example button to load it instantly.
    2. 2. Watch the Expression Breakdown strip map your input onto the minute, hour, day, month, and weekday slots.
    3. 3. Read the Description line for the plain-English schedule; if it reports an invalid expression, count your fields.
    4. 4. Refine individual fields using ranges, lists, and step values until the description matches your intent.
    5. 5. Copy the verified expression into your crontab, Kubernetes CronJob, or cloud scheduler.

    Cron Expression Tester FAQs

    What does each field in a cron expression mean?

    Left to right, the fields are minute (0-59), hour (0-23), day of month (1-31), month (1-12), and day of week (0-7, where both 0 and 7 mean Sunday). For example, 0 9 * * 1-5 runs at 09:00 every Monday through Friday.

    Why is my six-field expression marked invalid?

    This tester implements standard five-field cron. Quartz, Spring, and AWS EventBridge dialects prepend a seconds field (and sometimes append a year field). Strip the extra leading field to validate the schedule here.

    What happens when both day of month and day of week are set?

    When only one of the two fields is restricted, the job runs on the matching days. When both are restricted, classic cron runs the job if either field matches, treating them as alternatives. That OR behavior surprises many people expecting both conditions to apply.

    How do I schedule a job for weekdays at 9am?

    Use 0 9 * * 1-5, which means minute 0 of hour 9, every month, Monday through Friday. Adjust the hour for your local time, keeping in mind that the cron daemon interprets the schedule in its own timezone.

    Does the tester predict the exact future run times?

    No. It validates the five fields and generates a human-readable description of the schedule. To confirm precise run dates, use your scheduler's own preview feature or check the cron environment for timezone and user context.