Cron Expression Parser

Paste a crontab schedule to see what it means. This cron expression parser explains it in plain words, breaks down every field, lists the next run times in any time zone and supports seconds and @macros.

Five fields: minute, hour, day of month, month, day of week. Add a sixth field in front for seconds, or use a macro such as @daily.

Presets
Field breakdown
FieldValueAllowedRuns at

    
                            
    SecondMinuteHourDay of monthMonthDay of weekat %spastandorevery secondsecond %severy second from %s through %severy %s secondsevery minuteminute %severy minute from %s through %severy %s minutesevery hourhour %severy hour from %s through %severy %s hourson day-of-month %son every day-of-month from %s through %severy %s days of the monthon %son every day from %s through %severy %s days of the weekin %sin every month from %s through %severy %s monthsfrom %s through %sstarting at %s

    Understand Any Cron Schedule

    A cron line such as 30 9 * * 1-5 is compact but easy to misread, and a wrong field can mean a backup that never runs or a job that fires every minute. Paste the expression into this cron expression parser and it tells you in plain words when the job runs, shows what each of the fields matches and lists the next run times.

    It follows the rules of the classic Vixie cron that most Linux systems use, including names like MON and JAN, steps, ranges, lists, the @daily style macros and an optional seconds field. Run times are calculated in your browser for your local time zone, UTC or any other zone.

    Cron expression explained as a schedule30 9 * * 1-5Mon–Fri 09:30CronExplained

    How to read a cron expression

    1. Paste the expression from your crontab, Kubernetes CronJob or CI config, or pick a preset.
    2. Read the description and check the field breakdown: the last column lists every value the field matches.
    3. Choose the time zone of the server that runs the job. Cron uses the server's zone unless configured otherwise.
    4. Check the next run times and copy them as ISO 8601 timestamps if you need them for a ticket or test.

    Cron syntax: the five fields

    FieldAllowed valuesNotes
    Minute0–59
    Hour0–2324-hour clock, 0 is midnight
    Day of month1–31Days a month does not have are skipped
    Month1–12 or JAN–DECNames are not case-sensitive
    Day of week0–7 or SUN–SAT0 and 7 are both Sunday
    Seconds (optional)0–59Only as a sixth field in front, in tools such as node-cron and Spring

    Each field accepts * (every value), a single value (5), a list (1,15), a range (1-5) and a step (*/10, 0-30/10). A value followed by a step, like 5/15, means from 5 to the maximum in steps of 15.

    Cron expression examples

    ExpressionRuns
    */15 * * * *Every 15 minutes
    0 * * * *At the start of every hour
    30 9 * * 1-5At 09:30, Monday to Friday
    0 0 * * 0At midnight every Sunday
    0 2 1 * *At 02:00 on the first day of each month
    0 0 1 */3 *At midnight on 1 January, April, July and October
    0 8-18/2 * * *Every two hours from 08:00 to 18:00
    @dailySame as 0 0 * * *; @hourly is 0 * * * *, @weekly is 0 0 * * 0

    Day of month and day of week together

    When both day fields are restricted, cron runs the job on days that match either field. 0 0 13 * 5 therefore runs on the 13th of every month and also on every Friday, not only on Friday the 13th. The parser flags this case with a note.

    The rule only applies when neither field starts with *. If one of them does, as in 0 0 */2 * 1, both must match. This follows Vixie cron and cronie; some other schedulers always combine the fields with AND, so check the documentation of yours.

    Time zones and other cron flavours

    • Server time zone: classic cron uses the system zone. cronie supports CRON_TZ, and Kubernetes CronJobs have a timeZone field.
    • Daylight saving time: a local time that is skipped when clocks move forward is left out of the list here. Many cron daemons run such jobs right after the change instead, so avoid scheduling between 01:00 and 03:00 local time, or use UTC.
    • GitHub Actions reads schedule expressions in UTC and runs them at most every 5 minutes.
    • Quartz and AWS EventBridge use a different syntax with ?, L, W and # and extra fields, so their expressions are not standard crontab lines.

    Turning a run time into a timestamp for a log search? Use the Unix timestamp converter. Testing a pattern for a log line your job writes? Try the regex tester.

    Frequently Asked Questions

    Common questions about cron expressions and crontab schedules.

    Five asterisks mean every minute of every hour of every day. The job runs once a minute, at second 0.

    Use */5 * * * *. The step /5 in the minute field matches minutes 0, 5, 10 and so on up to 55.

    Standard crontab has five fields starting with minutes. Some libraries, such as node-cron and Spring, accept a sixth field in front for seconds. Quartz also starts with seconds but uses its own extensions.

    Both. Day of week 0 and 7 both mean Sunday, and you can also write SUN.

    If you set both the day of month and the day of week, cron runs the job when either one matches. Leave one of the two fields as * to require only the other.

    The time zone of the machine running the cron daemon, unless the scheduler lets you set one, such as CRON_TZ in cronie or timeZone in a Kubernetes CronJob.

    It runs the command once when the cron daemon starts, usually at boot. It has no recurring schedule, so there are no next run times to show.

    No. Parsing and the run time calculation happen in your browser with JavaScript.