An AWS EventBridge cron expression has six fields, not five: cron(minutes hours day-of-month month day-of-week year). Two rules trip people up. One of day-of-month and day-of-week must be ?, so every day at 04:00 is cron(0 4 * * ? *), not 0 4 * * *. And day-of-week counts from 1 = Sunday, so Monday is 2 (or MON), where standard cron uses 1. The same format is used by EventBridge Scheduler and by legacy EventBridge scheduled rules.
The six fields
| Field | Values | Wildcards |
|---|---|---|
| Minutes | 0-59 | , - * / |
| Hours | 0-23 | , - * / |
| Day-of-month | 1-31 | , - * ? / L W |
| Month | 1-12 or JAN-DEC | , - * / |
| Day-of-week | 1-7 or SUN-SAT (1 is Sunday) | , - * ? L # |
| Year | 1970-2199 | , - * / |
?means any value. You can't set both day-of-month and day-of-week: if one has a value or*, the other must be?./is a step from a start value:0/15in minutes is 0, 15, 30 and 45;1/10is 1, 11, 21 and so on.Lis the last day of the month (in day-of-month) or of the week (in day-of-week);6Lis the last Friday.Wis the weekday nearest a date:3Wis the weekday closest to the 3rd.#picks the nth weekday of the month:3#2is the second Tuesday. Only one#expression is allowed in the field, so3#1,6#3is rejected.- Schedules faster than once a minute aren't supported.
Examples next to standard cron
The middle column is the five-field form used by crontab, GitHub Actions, Vercel and RunLater (day of week 0-6, Sunday = 0).
| Schedule | Standard cron | EventBridge |
|---|---|---|
| Every day at 04:00 | 0 4 * * * | cron(0 4 * * ? *) |
| Every 15 minutes | */15 * * * * | cron(0/15 * * * ? *) |
| Weekdays at 18:00 | 0 18 * * 1-5 | cron(0 18 ? * MON-FRI *) |
| Every Monday at 09:00 | 0 9 * * 1 | cron(0 9 ? * MON *) or cron(0 9 ? * 2 *) |
| 1st of every month at 08:00 | 0 8 1 * * | cron(0 8 1 * ? *) |
| Last Friday of the month at 10:15 | 15 10 * * 5L | cron(15 10 ? * 6L *) |
| Second Tuesday of the month at 09:00 | 0 9 * * 2#2 | cron(0 9 ? * 3#2 *) |
| Every 5 minutes, 08:00 to 17:55, weekdays | */5 8-17 * * 1-5 | cron(0/5 8-17 ? * MON-FRI *) |
To convert, move each field across, put ? in whichever day field is *, add * for the year, and add 1 to every numeric day of the week (or use the three-letter names, which mean the same thing in both). Check the result with the cron expression explainer before and after: it reads the five-field form.
Rate expressions
For a plain interval, EventBridge also takes rate(value unit), such as rate(5 minutes) or rate(1 hour). Units are minutes, hours and days. For scheduled rules, a value of 1 needs the singular unit and anything larger the plural: rate(1 hours) and rate(5 hour) are rejected. In EventBridge Scheduler a rate schedule counts from its start date, or starts right away when you set none.
Time zones and daylight saving time
- EventBridge Scheduler reads a cron expression in UTC unless you give it an IANA time zone, for example
--schedule-expression-timezone "America/New_York"withaws scheduler create-schedule. - With a time zone, Scheduler follows daylight saving time: a time that doesn't exist on the spring-forward night is skipped, and a time that happens twice on the fall-back night runs once.
- Legacy scheduled rules (
aws events put-rule) have no time zone setting, and AWS's examples for them all read in UTC+0. Convert your local time to UTC yourself, and expect it to move by an hour when your clocks change. The cron timezone converter shows the UTC times for a local schedule. - Scheduler invokes targets with 60-second precision: a schedule for 1:00 runs between 1:00:00 and 1:00:59 when no flexible time window is set.
Calling a URL on this schedule
EventBridge invokes AWS targets such as Lambda, SQS or Step Functions. If all the job does is call an HTTP endpoint, RunLater sends the request itself on a five-field cron schedule in the time zone you pick, with retries and a log of every response. Paste the standard-cron column above into a request. How the two compare is on RunLater vs Amazon EventBridge Scheduler, and every five-field character is in the cron expression guide.
Frequently asked questions
What does cron(0 4 * * ? *) mean?
Every day at 04:00. The six fields are minutes, hours, day of month, month, day of week and year; ? in day of week means any day, and the last * is every year. In standard five-field cron the same schedule is 0 4 * * *.
Why does EventBridge reject my cron expression?
Usually because both day fields have a value or *. One of day-of-month and day-of-week must be ?. A five-field expression without the year field, or a schedule faster than once a minute, is also rejected.
Is Monday 1 or 2 in an EventBridge cron expression?
Monday is 2. EventBridge numbers days 1 to 7 starting with Sunday, while standard cron uses 0 to 6 with Sunday as 0. Writing MON instead of a number avoids the off-by-one.
What time zone do EventBridge cron schedules use?
EventBridge Scheduler uses UTC unless you set a time zone such as America/New_York, and then follows daylight saving time. Legacy scheduled rules have no time zone setting and run in UTC.