2 Answers
- Newest
- Most votes
- Most comments
0
Hi, I believe the leading * means every hour, so I'm not sure how */2 is interpreted. If you want every 2 minutes, I think you should write 0/2. That's what I'm using for my own event: 0/5 triggers my lambda every 5 minutes.
See example here (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule-schedule.html): Run every 10 minutes is 0/10 and Run every 15 minutes is 0/15.
0
If you need something to run every two minutes, and you don't care when it starts, you can just use a rate schedule and indicate rate (2 minutes)
.
Also, you should probably use the new EventBridge scheduler instead of the scheduling rules.
Relevant content
- asked 4 years ago
- asked 7 months ago
- asked 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago