Skip to content
Cron Expression Generator

AWS EventBridge cron format

AWS Cron Expression Generator

Build and test cron(…) schedule expressions for Amazon EventBridge rules and EventBridge Scheduler. AWS cron has six fields — minutes to year, no seconds — needs ? in one of the day fields and counts Sunday as 1. The tool checks every rule and lists the next runs in UTC, the time zone EventBridge rules use.

Cron expression translator and generator

Format
Valid

6 fields: minute hour day month weekday year — no seconds. Sunday is 1, one day field must be ?. You can paste cron(…) as is.

English

At 8:00 AM, Monday through Friday.

العربية

في تمام الساعة 8:00 ص، من الإثنين إلى الجمعة.

    Quick presets

    Visual cron generator

    Pick options for each field — the expression above updates instantly.

    Next 5 executions

    Local time:

      Cheat sheet

      *
      Any value
      ,
      List — 1,15,30
      -
      Range — 1-5
      /
      Step — */10
      ?
      No specific value (day fields)
      @daily
      Macro for 0 0 * * *
      L
      Last day of the month, or last weekday — 6L
      W
      Nearest Monday–Friday — 15W
      #
      Nth weekday — 6#3

      AWS cron expression format

      Inside cron(…), AWS expects six fields separated by spaces:

      FieldAllowed valuesSpecial characters
      Minute0–59, - * /
      Hour0–23, - * /
      Day of month1–31, - * ? / L W
      Month1–12 or JAN–DEC, - * /
      Day of week1–7 or SUN–SAT (1 = Sunday), - * ? L #
      Year1970–2199, - * /

      Special characters

      SymbolMeaning
      ?No specific value. One of day-of-month and day-of-week must be ?; the other can be * or a value.
      LLast: L in day-of-month is the last day of the month, and L in day-of-week is the last day of the week (Saturday).
      WNearest weekday: 3W runs on the weekday closest to the 3rd of the month.
      #The nth weekday: 3#2 is the second Tuesday of the month.
      /Increments: 0/15 in the minutes field runs at minutes 0, 15, 30 and 45.

      AWS EventBridge cron examples

      Click an expression to load it into the generator above.

      ExpressionSchedule
      Every 5 minutes.
      At 0 minutes past the hour.
      At 8:00 AM, Monday through Friday.
      Every 15 minutes, between 8:00 AM and 5:59 PM, Monday through Friday.
      At 12:00 AM, on day 1 of the month.
      At 6:00 PM, on the last day of the month.
      At 9:00 AM, on the first Monday of the month.
      At 12:00 PM, only on Sunday.
      At 6:30 AM, on day 1 of the month, only in January, in 2027.

      How AWS cron differs from Unix cron

      Use it with the AWS CLI

      For an EventBridge rule (always UTC):

      aws events put-rule \
        --name weekday-report \
        --schedule-expression "cron(0 8 ? * MON-FRI *)"

      For EventBridge Scheduler, with a time zone:

      aws scheduler create-schedule \
        --name weekday-report \
        --schedule-expression "cron(0 8 ? * MON-FRI *)" \
        --schedule-expression-timezone "Asia/Dubai" \
        --flexible-time-window Mode=OFF \
        --target file://target.json

      Frequently asked questions

      Why is my AWS cron expression invalid?

      The usual causes are: only five fields (the year is missing — add * at the end), * in both day fields (one must be ?), 0 for Sunday (AWS uses 1–7), or a seconds field copied from Quartz or Spring.

      Which time zone do EventBridge cron schedules use?

      EventBridge rules always use UTC, so cron(0 8 * * ? *) fires at 08:00 UTC — 11:00 in Riyadh. EventBridge Scheduler accepts a time zone, such as Asia/Riyadh, and adjusts for daylight saving time.

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

      rate(5 minutes) runs at a fixed interval counted from when the schedule is created. cron(…) runs at calendar times, such as 08:00 on weekdays or the last day of the month.

      Cron generators for other platforms

      Browse all cron expression examples →