2 回答
- 最新
- 投票最多
- 评论最多
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.
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 7 个月前