Skip to content
Engyna

Cron Expression Generator

Turn plain schedules into cron expressions and preview next runs.

How to use the Cron Expression Generator

  1. 1Build a schedule with presets or per-field controls.
  2. 2Or paste an existing expression to have it explained.
  3. 3Check the next run times and copy the expression.

About Cron Expression Generator

The Cron Expression Generator builds schedules for cron, crontab and the many job schedulers that use the same syntax. Start from a preset such as every 5 minutes, hourly, weekdays at 9:00 or monthly on the 1st, or set each field yourself: every value, every N minutes or hours, specific values or a range. A switch adds a leading seconds field for schedulers that expect six fields.

You can also paste an existing expression. The tool explains it in plain English, flags errors per field, expands macros like @daily and @weekly, and accepts month and weekday names such as JAN or MON-FRI. The next 10 run times are listed in your local time zone or in UTC, and the calculation follows Vixie cron's rules for combining day of month with day of week and for daylight saving time changes.

The crontab generator is useful for system administrators setting up backups and cleanup jobs, developers configuring scheduled tasks in CI pipelines, Kubernetes CronJobs or application frameworks, and anyone who needs to check what a cron expression in an existing config really does before it runs.

Frequently asked questions

What do the five fields of a cron expression mean?

From left to right: minute (0-59), hour (0-23), day of month (1-31), month (1-12) and day of week (0-7, where 0 and 7 are Sunday). So 30 2 * * 1 runs at 2:30 every Monday. Some schedulers, such as Spring, add a seconds field at the start.

What does */15 mean in cron?

The slash sets a step. */15 in the minute field means every 15 minutes, starting at 0: minutes 0, 15, 30 and 45. A range can have a step too, so 9-17/2 in the hour field means every second hour from 9 to 17.

What happens when both day of month and day of week are set?

In standard cron the job runs when either one matches. 0 0 1 * 1 runs on the 1st of every month and on every Monday. If either field starts with *, both have to match, which is why the next-runs list is worth checking.

Which time zone does cron use?

Classic cron uses the server's local time zone, while many hosted schedulers, such as GitHub Actions, run on UTC. Switch the preview between Local and UTC to see when the job fires in each case.

Are Quartz features like L, W and # supported?

No. The tool reads standard cron syntax with numbers, names, *, ?, ranges, lists, steps and @ macros. Quartz-only characters such as L (last day), W (nearest weekday) and # (nth weekday) are reported as errors.

Guides