Cron Expression Generator

Cron Expression Generator

Build a cron schedule without memorising the syntax. Pick the minute, hour, day, month, and weekday, and get the cron expression with a plain-English explanation.

0 0 * * *

Runs at midnight every day.

Cron runs in the timezone of the server or system that reads the schedule. Check your server timezone before relying on a time.

About the Cron Expression Generator

The Cron Expression Generator builds a five-field cron expression from simple dropdowns, so you can generate a cron expression without memorising the syntax. A cron expression is a short schedule string used by Unix-like systems to run a task at a set time, such as a backup, a report or a cleanup job.

The five fields are minute, hour, day of month, month and day of week. A star means every value in that field, a step such as */15 repeats on a fixed interval, a list picks specific values, and a range covers a span of values. For example, 0 9 * * 1-5 means 9 in the morning, Monday to Friday.

As you change a field, the tool shows the expression, a plain-English explanation of the schedule, and the next run time, calculated from the current date and time in your browser. Cron runs in the timezone of the machine that reads the schedule, so check the server timezone before you rely on a next run time shown here.

How to use

  1. Choose a value for minute, hour, day of month, month and day of week, or start from a preset such as Every 15 minutes, Daily at midnight, Weekdays at 9am or Monthly on the 1st.
  2. Read the cron expression and the plain-English explanation below the dropdowns.
  3. Check the next run time, which is calculated from the current date and time in your browser.
  4. Click Copy cron expression and paste it into your crontab or scheduler. Use Reset to midnight daily to start over.

Key features

  • Dropdowns for all five cron fields, including stars, steps, lists and ranges.
  • Live cron expression that updates as you change a field.
  • Plain-English explanation of the schedule.
  • Next run time calculated from the current date, not guessed.
  • Common presets for daily, weekday, monthly and frequent schedules.
  • Copy button for the finished expression.

Common uses

  • Schedule a nightly backup, for example 30 2 * * * for half past two every morning.
  • Run a report on weekday mornings with 0 9 * * 1-5.
  • Run a cleanup job every 15 minutes with */15 * * * *.
  • Check when a schedule you were given will run next before you put it live.

Frequently asked questions

What does a star mean in cron?

A star means every possible value for that field. A star in the minute field means every minute, and a star in the month field means every month.

What does */15 mean?

It means every 15 units in that field. In the minute field, */15 runs at minute 0, 15, 30 and 45 of every hour. The same step idea works in other fields, such as */2 in hours for every other hour.

What does 0 9 * * 1-5 mean?

It means 9 in the morning, Monday to Friday. The 1-5 in the last field is a range covering Monday through Friday.

How do I schedule something on the first of the month?

Set the minute and hour you want, day of month to 1, and leave month and day of week as stars. For midnight on the 1st, that is 0 0 1 * *.

Does this support seconds or six-field schedules?

No. This tool builds the standard five-field cron format only: minute, hour, day of month, month and day of week.

Why does the next run depend on my timezone?

Cron runs in the timezone of the machine that reads the schedule. The next run shown here uses your browser time, so confirm the server timezone before you rely on it.

What is a cron expression used for?

A cron expression is a short schedule string that tells a server or an app when to run a repeated task, such as a nightly backup, a weekly report, or a regular cleanup job. You write the schedule once and the system repeats it automatically.

What are the five fields in order?

The fields are minute, hour, day of month, month, and day of week, written left to right. For example, in 30 8 * * *, 30 is the minute and 8 is the hour, so the task runs at 8:30 in the morning.

How do I run a task every hour?

Set the minute to the minute you want and use a star for the hour, such as 0 * * * * for the top of every hour. A star in a field means every value in that field.

Can I pick several values in one field?

Yes, separate them with commas, such as 0 9,17 * * * to run at 9 in the morning and 5 in the afternoon. You can also combine a list with a range, for example 0 9 * * 1,3,5 for Monday, Wednesday, and Friday.

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

In standard cron the task runs when either field matches, so 0 0 1 * 5 runs on the 1st of the month and on every Friday. If you only want one of them to decide the day, leave the other field as a star.

Free to use, no signup needed. This tool runs entirely in your browser — your data never leaves your device.