Amazon Web Services (AWS) - Schedule reoccurring Lambda Function using EventBridge Scheduler

by
Jeremy Canfield |
Updated: January 02 2024
| Amazon Web Services (AWS) articles
EventBridge Scheduler is similar to Linux cron to schedule one time or reoccurring jobs. For example, I have a Lambda Function named temporaryTokens that I want to run once every minute.
- In the EventBridge Scheduler console (https://console.aws.amazon.com/scheduler/home/) select Create Schedule.
- Give your schedule a name (I named mine temporaryTokens)
- I would probably go with the default schedule group at first
- Select reoccurring schedule and enter the following so that the schedule runs once every minute:
- minute = *
- hour = *
- day of month = *
- month = *
- day of the week = ?
- year = *
- Set Flexible Time Window to None
- Select Next
- Select AWS Lambda Invoke
- Select your Lambda Function (I selected temporaryTokens)
- Select Next
- I would probably set Action after schedule completion to None
- Select Next
- Select Create Schedule.
You should see something like this.
Then over in CloudWatch, you should see an event for your Lambda Function once every minute.
Did you find this article helpful?
If so, consider buying me a coffee over at