cloud michael
cloud michael

Reputation: 43

Add custom schedule to AWS ec2 lifecycle manager

How can I use cron expression to schedule quarterly backup? Like Backup at 12:00AM on every 1st January, 1st April, 1st July and 1st October.

enter image description here

Upvotes: 1

Views: 400

Answers (1)

baduker
baduker

Reputation: 20052

Try setting up the event with this:

cron(0 12 1 1/3 ? *)

This translates to:

1/3 -> every third month

1 -> on the first day of the month

0 12 at 12 PM

One of the day-of-month or day-of-week values must be a question mark (?)

PS. Keep in mind that time is in UTC+0.

More on Scheduled Expressions in AWS

Upvotes: 1

Related Questions