AWS EventBridge cron expressions are weird

Category AWS Troubleshooting
7 July 2023

They have some specifics to them that are unexpected if you have been working with regular crontabs for some time.

That is why I made this simple tool that helps you check your cron expressions. It validates these expressions against the AWS API as well.

EventBridge cron expressions are made in “Quartz” format so they differ in a couple of places:

  • Some expressions can not be made with them
  • They include the year while normal crons do not
  • Some of the indexing is different for instance days start at 0 in normal crons and in AWS EventBridge crons they start at 1

Currently the tool does not support rate() expressions.

Recent articles:
NEW

Reduce AWS Fargate pull times with SOCI

Read more >
NEW

Reduce your AWS CloudFront costs by switching to Cloudflare

Read more >

Cross account AWS KMS keys

Read more >

Need an AWS Expert?

Plan a free meeting now, no strings attached.