Skip to content

Commit 74e8430

Browse files
committed
[PRMP-1048] reverting cron
1 parent 003949f commit 74e8430

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

infrastructure/concurrency_controls.tf

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66

77
# Office hours start (8 AM UTC)
88
resource "aws_cloudwatch_event_rule" "bulk_upload_concurrency_office_hours_start" {
9-
name = "bulk-upload-office-hours-start"
10-
# schedule_expression = "cron(0 8 * * ? *)"
11-
schedule_expression = "cron(0/1 * * * ? *)"
9+
name = "bulk-upload-office-hours-start"
10+
schedule_expression = "cron(0 8 * * ? *)"
1211
}
1312

1413
resource "aws_cloudwatch_event_target" "bulk_upload_concurrency_office_hours_start" {
@@ -24,9 +23,8 @@ resource "aws_cloudwatch_event_target" "bulk_upload_concurrency_office_hours_sta
2423

2524
# Office hours stop (7 PM UTC / 19:00 UTC)
2625
resource "aws_cloudwatch_event_rule" "bulk_upload_concurrency_office_hours_stop" {
27-
name = "bulk-upload-office-hours-stop"
28-
# schedule_expression = "cron(0 19 * * ? *)"
29-
schedule_expression = "cron(0/1 * * * ? *)"
26+
name = "bulk-upload-office-hours-stop"
27+
schedule_expression = "cron(0 19 * * ? *)"
3028
}
3129

3230
resource "aws_cloudwatch_event_target" "bulk_upload_concurrency_office_hours_stop" {

0 commit comments

Comments
 (0)