Skip to content

Aws cloudwatch cron

wordpress meta

title: 'AWS Cloudwatch Cron'
date: '2019-11-16T09:55:19-06:00'
status: publish
permalink: /aws-cloudwatch-cron
author: admin
excerpt: ''
type: post
id: 1418
    - AWS
    - Cloudwatch
    - cron
tag: []
post_format: []

I was trying to schedule a once a week snapshot of a EBS volume and getting "Parameter ScheduleExpression is not valid". Turns out I missed something small. If you schedule using a cron expression note this important requirement: One of the day-of-month or day-of-week values must be a question mark (?)

I was trying:

``` 0 1 * * SUN *
</div>What worked was:

<div class="wp-block-syntaxhighlighter-code ">```

0 1 ? * SUN *