OpsPane

Validate AWS EventBridge cron and rate expressions, see next run times in UTC and generate Terraform, CloudFormation or AWS CLI snippets.

Time zone

In plain English

At 09:00 on Monday through Friday.

Minute01/60

:00

Hour91/24

09:00

Day of month?31/31

Every day of the month

Month*12/12

Every month

Day of weekMON-FRI5/7

Monday through Friday

Year*

Every year

Day matchAND

Day of week decides; day of month is ?.

Next 10 runs

Computed in your browser

Next run in—

Local timeUTCFrom now
———
———
———
———
———
———
———
———
———
———

Deploy it

Scheduler snippets use the time zone above; classic rules always run in UTC.

Terraform — aws_scheduler_schedule
CloudFormation — AWS::Scheduler::Schedule
AWS CLI — scheduler create-schedule
Terraform — EventBridge rule (UTC only)
Updated Runs locally in your browser

Quick answer

  • cron(minutes hours day-of-month month day-of-week year): six fields, a year at the end and no seconds.
  • One day field must be ?: cron(0 12 * * ? *) runs every day at 12:00, while cron(0 12 * * * *) is rejected.
  • Day of week is 1–7 with 1 = Sunday, so 2-6 is Monday to Friday.
  • EventBridge rules run in UTC; EventBridge Scheduler takes any IANA time zone and also accepts one-time at() schedules.

How to use

  1. Paste an AWS schedule expression: cron(…) with six fields, rate(…) or at(…). The cron( ) wrapper is optional.
  2. Pick the schedule's time zone (EventBridge Scheduler) or keep UTC (classic EventBridge rules).
  3. Check the next 10 runs and the warnings, then copy the Terraform, CloudFormation or CLI snippet.

AWS cron expression format

#FieldValuesWildcards
1Minutes0–59, - * /
2Hours0–23, - * /
3Day of month1–31, - * ? / L W
4Month1–12 or JAN–DEC, - * /
5Day of week1–7 (1 = Sunday) or SUN–SAT, - * ? L #
6Year1970–2199, - * /

One of day-of-month and day-of-week must be ?. L is the last day of the month (or, after a weekday number, the last such weekday), 15W the weekday nearest the 15th, and 2#1 the first Monday of the month.

rate() and at() expressions

rate(value unit) repeats at a fixed interval: the unit is minute, hour or day, singular for 1 and plural above, so rate(1 hour) but rate(2 hours). The interval counts from when the schedule starts, not from the clock. at(yyyy-mm-ddThh:mm:ss) runs once and is supported by EventBridge Scheduler only.

cron(0 * * * ? *) runs on the wall clock: 10:00, 11:00, 12:00 … rate(1 hour) counts from when the schedule starts — created at 10:17 it fires at 11:17, 12:17, 13:17 — so the two never line up. Use cron() when the clock time matters.

EventBridge Scheduler vs EventBridge rules

EventBridge SchedulerEventBridge rule
Time zoneAny IANA zone (DST handled)UTC only
Expressionscron(), rate(), at()cron(), rate()
Terraform resourceaws_scheduler_scheduleaws_cloudwatch_event_rule

Differences from Linux cron

One day field must be ?

Linux cron ORs the two day fields when both are set; AWS cannot do that. One of day-of-month and day-of-week must be ? instead: cron(0 12 * * ? *) runs daily at noon, while a schedule with * in both day fields — cron(0 12 * * * *) — is rejected outright.

AWS follows Quartz here: one of day-of-month and day-of-week must be ?. With * in both, cron(0 12 * * * *) is rejected — write cron(0 12 * * ? *) and it runs every day at 12:00.

Day-of-week numbers start at 1 for Sunday

So 2-6 is Monday to Friday — not Tuesday to Saturday, as it would be in Linux cron.

Other differences

How the results are verified

AWS cron follows the Quartz expression syntax without seconds, so every cron() preview is checked against org.quartz.CronExpression 2.3.2 with a zero-seconds field, on the examples from the AWS documentation and edge cases such as L, W and #. The AWS-only rules — six fields, the year range, rate() units and daylight-saving behaviour — follow the EventBridge Scheduler documentation.

FAQ

Why does an AWS cron expression have six fields?

AWS cron is cron(minutes hours day-of-month month day-of-week year). Compared with Linux cron it adds a year field at the end (use * for every year), and it has no seconds field.

Why is cron(0 12 * * * *) rejected?

AWS does not allow * in both day-of-month and day-of-week. Put ? in one of them: cron(0 12 * * ? *) runs every day at 12:00.

How do I run an EventBridge schedule in my time zone?

Use EventBridge Scheduler and set the schedule's time zone (ScheduleExpressionTimezone, e.g. Europe/Berlin). Classic EventBridge rules always run in UTC, so you would have to convert the hours yourself.

What happens on daylight saving changes?

With a time zone set, EventBridge Scheduler skips a run whose time does not exist when clocks spring forward, and runs only once when a time repeats as clocks fall back. The warnings above name the affected dates for your zone.

What is the difference between rate() and cron()?

rate(5 minutes) repeats at a fixed interval counted from when the schedule starts, so its times depend on when you created it. cron() pins clock times, such as 09:00 on weekdays.

Can I schedule a single run with EventBridge?

Yes, EventBridge Scheduler accepts a one-time expression such as at(2026-12-31T23:30:00), evaluated in the schedule's time zone. Classic EventBridge rules only accept cron() and rate().

Private by design

Your input is processed in this browser tab and never sent to our servers. Privacy policy