Home > Back-end >  Cron expression for monitoring schedule on aws Lambda
Cron expression for monitoring schedule on aws Lambda

Time:02-01

I can't find the right way to write my cron expression.

I want my function to be triggered every minutes everyday for 10 minutes at 19h20.

So it as to be triggered every minutes from 19h20 to 19h30 everyday.

I'm trying something like this but it's not working:

cron(0/1 19-20 ? * * *)

but this will trigger I think from 19h20 to 20h right ?

CodePudding user response:

The cron expression to run Every minute between 07:20 PM and 07:30 PM is:

cron(20-30 19 * * ? *)

You can get help from pages like this one

  •  Tags:  
  • Related