i created an AWS Lambda function, and created a scheduled event rule in Cloudwatch to trigger it every 5 minutes :
Schedule Cron expression : 0/5 * * * ? *
The problem is that when looking at the logs, the Lambda seems to be executed every 1~2 minute.
I checked the CRON expression, it seem correct because AWS shows previews of the next triggers. I also tried with a rate expression, but i still have the same issue.
I tooks a look at cloudwatch metrics : - The scheduled event seems fine, it triggered once every 10minutes - The lambda invocation metric show that it is invoked more often
Any help ?
rate(5 minutes)
? See: Schedule Expressions Using Rate or Cron - AWS Lambda - John Rotenstein