Skip to content

Commit 180c2af

Browse files
NRL-1587 fix cron job invalid expression
1 parent e41dc87 commit 180c2af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

terraform/account-wide-infrastructure/dev/aws-backup.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ module "source" {
159159
},
160160
{
161161
"name" : "monthly"
162-
"schedule" : "cron(30 0 ? * 4#1)" # first Thursday each month from 00:30
162+
"schedule" : "cron(30 0 ? * 5#1 *)" # first Thursday each month from 00:30
163163
"copy_action" : [{
164164
"cold_storage_after" : 3,
165165
"delete_after" : 100 # ensures there will always be min 3
@@ -170,8 +170,8 @@ module "source" {
170170

171171
},
172172
{
173-
"name" : "weekly" # overlaps with monthly
174-
"schedule" : "cron(30 0 ? * 4)" # every Thursday from 00:30 to precede releases
173+
"name" : "weekly" # overlaps with monthly
174+
"schedule" : "cron(30 0 ? * 5 *)" # every Thursday from 00:30 to precede releases
175175
"copy_action" : [{
176176
"cold_storage_after" : 14 # ensures 2 warm including one from previous release
177177
"delete_after" : 105

0 commit comments

Comments
 (0)