Cron expression generator

Build a 5-field cron expression with the inputs below — minute, hour, day-of-month, month, day-of-week. The plain-English explanation and the next 5 run times update live. Use the presets for common schedules.

Cron generator

Cron fields
Cron expression
* * * * *
Every minute
Next 5 run times (local time):

    Field syntax

    • * — any value
    • 5 — exactly 5
    • 1,3,5 — list
    • 1-5 — range
    • */15 — every 15 (steps from 0)
    • 0-30/5 — every 5 between 0 and 30

    Common patterns

    • 0 0 * * * — every day at midnight
    • 0 9 * * 1-5 — every weekday at 9 AM
    • */15 9-17 * * 1-5 — every 15 min during business hours
    • 0 0 1 */3 * — first of every 3 months at midnight

    FAQ

    Day of week — 0 or 7 for Sunday?

    Standard cron accepts both. This tool uses 0–6 with 0 = Sunday; if you write 7 it's treated as Sunday.

    Does this support non-standard fields (seconds, year)?

    No — strictly 5 fields. Quartz, Spring, and some other dialects use 6 or 7 fields with seconds and an optional year; check your scheduler's docs if you need that.

    Related calculators