Cron Expression Builder
Build a Unix or Quartz schedule, preview its next 10 runs, and export compatible schedules for Kubernetes or systemd.
Popular Cron Schedules
Browse all cron examplesAWS 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.
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 check Next 10 Runs. Select your scheduler’s time zone. To check a specific date or a daylight-saving change, enter the UTC start time and compare the resulting local times and 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.