I have a Lambda Function that needs to be invoked biweekly on Sunday at 10am. I used the rate expression to set 14 days
as the rate period. However from the official documentation, I couldn't find a way to specify the Sunday at 10AM
part. How can I make that happen?
Asked
Active
Viewed 382 times
1

bappak
- 865
- 8
- 23
-
Did you find answer for this? – S A R Aug 18 '23 at 12:46
1 Answers
2
If you're looking to do this you need to use a cron expression instead for the CloudWatch event.
The cron schedule 0 10 ? * 1 *
will cause the CloudWatch event to trigger every Sunday at 10 AM UTC. Be aware that regardless of your region that the cron will always evaluate in UTC so you may need to adjust the times to match your local region.
More information is available in the cron expressions documentation.

Chris Williams
- 32,215
- 4
- 30
- 68
-
Thanks, although the tricky part is that I need to run it every _other_ Sunday and not every Sunday. Could you suggest a cron expression that addresses that? – bappak Oct 07 '20 at 17:45