Cron Expression Builder

Build a Unix or Quartz schedule, preview upcoming or previous runs, and export compatible schedules for Kubernetes or systemd.

Cron schedule builder
Format:

Quick Presets

Visual Builder

Click to toggle · multi-select

Minute

Every minute

Hour

Every hour

Day of Month

Every day of month

Month

Every month

Day of Week

Every day of week

Schedule Description

Every minute

Next 10 Runs

Preview from a specific time

Runs are shown strictly after this UTC time. Leave it blank to use the current time.

This preview shows matching clock times. Your scheduler may handle skipped or repeated daylight-saving hours differently.

Export Kubernetes CronJob schedule

Merge these fields into your existing CronJob spec. The export uses the selected schedule time zone. Kubernetes v1.27 or newer supports spec.timeZone.

spec:
  schedule: "* * * * *"
  timeZone: "Etc/UTC"
Kubernetes CronJob time zones
Export systemd timer schedule

Add the OnCalendar= lines to your timer's [Timer] section. The export uses the selected schedule time zone.

[Timer]
OnCalendar=*-*-* *:*:00 UTC

Use systemd-analyze calendar on your Linux machine to check the next runs in that time zone.

systemd timer documentation

Popular Cron Schedules

Browse all cron examples

AWS EventBridge

AWS cron expression builder

Building an EventBridge rule or Scheduler job? AWS uses cron(...) with minute, hour, day of month, month, day of week, and year fields. Convert a five-field cron like 0 9 * * * into cron(0 9 * * ? *) before pasting it into AWS.

Open AWS cron expression builder

Frequently Asked Questions

What is a cron expression?

A cron expression is a string of 5 (Unix) or 6 (Quartz) fields that defines a recurring schedule. Each field represents minute, hour, day-of-month, month, and day-of-week. Systems like Linux crontab, GitHub Actions, Kubernetes CronJobs, and AWS EventBridge use cron expressions to schedule automated tasks.

What does */5 * * * * mean in cron?

The cron expression */5 * * * * means "every 5 minutes." The */5 in the minute field means "every 5th minute" (0, 5, 10, 15, ..., 55). The asterisks in the remaining fields mean "every hour, every day, every month, every day of the week."

What is the difference between Unix and Quartz cron?

Unix cron uses 5 fields (minute, hour, day-of-month, month, day-of-week). Quartz cron adds a seconds field at the beginning, making it 6 fields; it is used by Quartz and other Java schedulers, and Spring's @Scheduled also puts seconds first. AWS EventBridge has 6 fields too but no seconds: minute, hour, day-of-month, month, day-of-week and year inside cron(...), so use the AWS cron builder for those. This builder supports Unix and Quartz with a simple toggle.

How do I test if my cron expression is correct?

Paste or build your expression and select your scheduler’s time zone. Enter a UTC reference time to compare upcoming and previous scheduled runs, including their local times and UTC offsets.

Can I use this for GitHub Actions cron schedules?

Yes. GitHub Actions uses standard Unix 5-field cron syntax. Build your expression here, copy it, and paste it into the "cron" field of your workflow YAML. Note that GitHub Actions runs in UTC, so adjust hours accordingly.

Preview a cron schedule in its time zone

A Unix expression uses five fields. Quartz adds seconds at the beginning. Enter either expression above, then set the time zone your scheduler uses. The preview shows where the local clock time lands in UTC.

To check a release date or a daylight-saving change, open Preview from a specific time and enter the reference instant in UTC. Switch between Upcoming and Previous to compare the dates and offsets on either side. Your scheduler may treat a clock time that happens twice or is skipped differently from this calendar preview.

To investigate a missed run, enter the timestamp from your logs and choose Previous. Compare the scheduled times with your scheduler’s execution history.

Download the visible run times as an iCalendar file to review them alongside other events.

Before replacing a schedule, compare the old and proposed cron schedules over the same dates.

AWS EventBridge uses six fields with a year at the end. Use the AWS EventBridge cron builder to build an expression for EventBridge or CloudWatch.

The Vercel cron expression generator checks your schedule and produces the vercel.json configuration.

For Quartz jobs that run on the first or last weekday of a month, see the Quartz cron syntax and examples for expressions you can load in the builder.

Worked cron examples for daily and weekday jobs