Developer tools

Cron Expression Generator

Cron Expression Generator

Build cron schedules with a form, read them in plain English and see the next 10 run times in any time zone.

About this tool

About Cron Expression Generator

Write cron schedules without memorising the five fields. Open Schedule templates for 28 ready-made jobs, each drawn as a mini map of the hours, weekdays and months it runs: health checks every 5 minutes, a nightly database backup at 02:00, cache warm-ups every 15 minutes in office hours, a Monday digest, month-end close on the last day, quarterly reports and more. Or set each field in the builder: every value, every N, a list of specific values, or a range. The expression updates as you click, and typing an expression updates the builder, so you can paste a line from a crontab and adjust it. Every schedule is described in plain English and checked as you go. The next 10 run times are listed in the time zone you choose, which matters because servers, Kubernetes CronJobs and CI runners often run in UTC. Turn on the seconds field for Quartz, Spring and node-cron style expressions. Parsing happens in your browser. With your own AI key you can also describe a schedule in plain English and get an expression, checked by the same parser.

Built and maintained by Abhi JainUpdated

How to Build a Cron Expression

  1. 1

    Start from a template

    Open Schedule templates and pick a job such as Health check or Nightly database backup, or type an expression into Cron expression.

  2. 2

    Adjust each field

    In Builder, choose Every, Every N, Specific values or Range for minute, hour, day of month, month and day of week.

  3. 3

    Check the schedule

    Read the plain-English description and the Next 10 runs, and pick the Time zone your server uses.

  4. 4

    Copy it

    Click Copy next to the expression and paste it into crontab, a CI workflow or your scheduler.

Cron Expression Generator: questions and answers

What are the five fields of a cron expression?

In order: minute (0–59), hour (0–23), day of month (1–31), month (1–12 or JAN–DEC) and day of week (0–7 or SUN–SAT, where 0 and 7 are both Sunday). For example 30 2 * * 1 runs at 02:30 every Monday. Some schedulers add a seconds field at the start.

How do I run a cron job every 5 minutes?

Use */5 * * * *. The */5 in the minute field means every fifth minute starting at 0, so it runs at :00, :05, :10 and so on. Every 15 minutes is */15 * * * *, and every hour on the hour is 0 * * * *.

Which time zone does cron use?

Classic cron uses the server's local time zone, which on cloud servers and containers is usually UTC. GitHub Actions schedules use UTC by default. Kubernetes CronJobs use the controller's zone unless you set spec.timeZone. Choose that zone in the tool to see when the job will really run.

What happens if I set both day of month and day of week?

Standard (Vixie) cron runs the job when either one matches, not both. 0 0 1 * 1 runs on the 1st of each month and on every Monday. The next-runs list follows this rule so you can see the effect.

Which cron schedule templates are there?

28 templates grouped by job: monitoring (every minute, every 2 or 5 minutes, a 10-second six-field probe, a daily certificate check), backups (nightly, hourly incremental, weekly full, weekend batch), data and sync, reports (weekday 09:00, Monday digest, Friday timesheets, last Friday of the month), billing (1st, 7th and 15th of the month, month-end, quarterly, 1 April) and housekeeping such as log rotation. Templates using L or # need a scheduler that supports them, such as Quartz or cron-parser; classic crontab does not.

Can AI help me write a cron expression?

Yes, optionally. Click AI next to the expression, describe the schedule in plain words ("every weekday at 9:30 and 17:30"), and the suggested expression is checked by the tool's own cron parser and described in English before you apply it. Only your description, the current expression and your time zone name are sent. It uses the AI provider and key you connect in AI settings (Claude, OpenAI, Gemini, DeepSeek, OpenRouter or a compatible endpoint), and the request goes straight from your browser to that provider; KissThePDF has no server in between.

Ready-made Cron Expression Generator presets