Cron Expression Generator

A cron expression generator builds the five-field schedule string that tells cron, GitHub Actions, Kubernetes CronJobs and other schedulers when to run a job. Pick the minute, hour, day, month and weekday below, or paste an existing expression to decode it — you get a plain-English meaning and the next five run times instantly, free and 100% in your browser.

Cron Expression Generator

Build and decode cron expressions two ways in one tool — pick the fields below or paste an expression. You also get the next 5 runs in local and UTC time, plus a ready-to-paste crontab line.

Presets
0 9 * * 1-5
At 09:00, Monday through Friday
0 9 * * 1-5 /path/to/your-command
Next 5 run times

    100% private — every calculation happens in your browser. Nothing is uploaded or stored.

    How to use the cron expression generator

    • Choose a mode for each of the five fields — Every, Specific, Range or Step — and enter the values you need.
    • Or start from a preset, such as Weekdays at 9 AM, and adjust any field to suit your schedule.
    • To decode a schedule you already have, paste it into the decode box; the builders fill in automatically and the plain-English meaning appears below.
    • Read the description and the next five run times, and switch between Local time and UTC to check the schedule in either timezone.
    • Copy the expression for your scheduler, or copy the ready-to-paste crontab line when you are adding the job to a server.

    What is a cron expression?

    A cron expression is a short string of five fields — minute, hour, day of month, month and day of week — that describes when a scheduled job should run. Each field can hold a single value, a list, a range, a step such as */15, or an asterisk meaning every value. The string 0 9 * * 1-5, for example, means at 09:00 on Monday through Friday. Cron itself comes from Unix, where the cron daemon reads these schedules and runs commands at the right moment, but the same five-field format is now used far beyond servers. GitHub Actions workflows, Kubernetes CronJobs, cloud schedulers and many automation tools all accept it, which is why one expression can often be copied between very different systems. The format is compact, but that compactness makes it easy to misread: a single digit in the wrong field can move a job from weekdays to weekends or from 9 AM to 9 PM. A visual generator removes that guesswork by showing the plain-English meaning and the next run times alongside the expression, so you can confirm the schedule before you save it anywhere.

    Cron expression examples

    Real examples make the five fields much easier to read. The expression 0 9 * * 1-5 runs at 09:00 on weekdays, Monday to Friday, which suits a morning report, a daily backup during office hours or a job that should only run on working days. The expression */15 * * * * runs every 15 minutes — at :00, :15, :30 and :45 of every hour — which is useful for checking a feed, syncing data or polling an API at a steady pace. The expression 0 0 * * 0 runs at midnight on Sundays, a common slot for weekly cleanup, weekly reports or a full backup when traffic is low. Other useful patterns follow the same logic: 0 0 1 * * runs at midnight on the first day of every month, 30 2 * * * runs at 02:30 every day, and 0 8 * * 0-6 would run at 08:00 every day of the week. When you paste any of these into the decode box above, the tool fills in the builders and explains the schedule in plain English, so you can check an expression you found in documentation or inherited from a colleague before you trust it.

    Cron fields explained and limitations

    Each field covers one part of the schedule. Minute accepts 0 to 59, hour accepts 0 to 23 (with 0 meaning midnight), day of month accepts 1 to 31, month accepts 1 to 12, and day of week accepts 0 to 6, where 0 is Sunday. An asterisk means every value, a range such as 1-5 means a run of values, and a step such as */15 means every fifteenth value starting from the first. One detail catches many people out: day of month and day of week interact. When both are restricted, most cron setups treat them as an either-or condition, so a job scheduled for the 1st and for Mondays runs on the 1st and on every Monday, not only on Mondays that fall on the 1st. Set one of them to an asterisk unless you know your scheduler behaves differently. This generator covers the standard five-field format only. It does not support seconds, which some tools add as a sixth field, and it does not support Quartz-style expressions with extra fields, years or special characters such as L or #. If your scheduler needs those, check its own documentation, and use this tool for the standard five-field schedules that most cron, GitHub Actions and Kubernetes setups expect.

    What does */5 * * * * mean?

    It means every 5 minutes: the */5 step in the minute field fires at :00, :05, :10 and so on, every hour of every day.

    How do I run a cron job every weekday at 9 AM?

    Use 0 9 * * 1-5: minute 0, hour 9, any day of the month, any month, Monday to Friday.

    What is the difference between day of month and day of week?

    Day of month picks calendar dates (1-31), day of week picks weekdays (0-6, Sunday=0); most cron setups treat them as OR when both are restricted, so set one to * unless you know your scheduler.

    Is this cron expression generator free and private?

    Yes, it is free with no signup and runs entirely in your browser; nothing you type is uploaded or stored.

    Related tools: Unix Timestamp Converter, UUID Generator, and Word Counter.