Robert Achmann
Robert Achmann

Reputation: 2035

aws lambda cron expression for 5 minutes before each hour

Is it possible to define a cron expression to fire 5 minutes before each hour?

For every hour, I can use

cron(0 1 * * ? *)

but I need it to be 5 minutes prior to the hour...

Upvotes: 1

Views: 6415

Answers (1)

jlo-gmail
jlo-gmail

Reputation: 5038

If you create a rule in cloudwatch, you get a screen where you can enter an expression and it will evaluate it for you:

enter image description here

Upvotes: 4

Related Questions