Skip to content
toolstome

Cron expression generator

Writing cron expressions by hand is error-prone: is it minute then hour, does 0 mean Sunday, and how do you run on the last day of a month? Choose a schedule in plain terms, such as every 15 minutes, every day at 09:00, on weekdays, on the first of each month or once a year, and the generator writes the standard five-field expression, checks it with the same parser as our Cron Explainer and lists the next five run times in your time zone. Copy it as a crontab line, a GitHub Actions schedule or a Kubernetes CronJob.

Free · No sign-upProcessed in your browser

Cron expression

0 9 * * *

Next runs (your time zone)

  1. Tuesday, December 1, 2026 at 9:00 AM
  2. Wednesday, December 2, 2026 at 9:00 AM
  3. Thursday, December 3, 2026 at 9:00 AM
  4. Friday, December 4, 2026 at 9:00 AM
  5. Saturday, December 5, 2026 at 9:00 AM

Snippets

How to use the Cron Expression Generator

  1. 1

    Choose a schedule type

    Every N minutes or hours, daily, weekly, monthly, yearly or custom fields.

  2. 2

    Set the time and days

    Hour and minute, weekdays or day of the month.

  3. 3

    Copy the result

    The expression, or a crontab, GitHub Actions or Kubernetes snippet.

Cron fields

Five fields separated by spaces: minute (0–59), hour (0–23), day of month (1–31), month (1–12) and day of week (0–6, Sunday is 0). * means every value, */n every n, a-b a range and a,b a list.

  • minute hour day-of-month month day-of-week

When to use it

  • Schedule backups, reports or cleanup jobs.
  • Set up a GitHub Actions workflow on a timer.
  • Create a Kubernetes CronJob.

Limits

  • Standard cron has no “last day of month”; the generator uses 28–31 with a date check in the command.
  • GitHub Actions schedules run in UTC and may start a few minutes late.

Privacy

Runs in your browser; nothing is sent.

Frequently asked questions

Why does every 7 minutes show a warning?

Steps restart each hour, so */7 runs at :00, :07 … :56 and then again at :00, giving a 4-minute gap. Use a divisor of 60 for even spacing.

What time zone are the next runs in?

Your browser’s time zone. Servers run cron in their own time zone, and GitHub Actions always uses UTC.

How do I run a job on the last day of the month?

Pick “Last day” under monthly: the job runs on the 28th–31st and the crontab line only runs the command when tomorrow is the 1st.

Why are % signs escaped in the crontab line?

In a crontab, an unescaped % ends the command and starts its standard input, so date formats like +%F must be written \%F.

Can I edit the fields directly?

Yes. Choose Custom and type each field; the generator validates it and shows the runs.

People also use

Last updated November 24, 2026 · How we build and test our tools

Categories

Recently used tools

Tools you open will appear here.

More