Skip to content

Commit

Permalink
122: Update cronjob entry. (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
marklise authored Nov 8, 2023
1 parent 22f06c4 commit ecbb3b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion terraform/src/nameUpdate.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ resource "aws_lambda_alias" "name_update_latest" {
function_version = aws_lambda_function.name_update.version
}

# Every day at 08:00 UTC (00:00 PDT) = cron(0 8 * * ? *)
resource "aws_cloudwatch_event_rule" "name_update_every_midnight" {
name = "name-update-every-midnight"
description = "Executes nightly"
schedule_expression = "cron(* 0 * * ? *)"
schedule_expression = "cron(0 8 * * ? *)"
}

resource "aws_cloudwatch_event_target" "name_update_every_midnight" {
Expand Down

0 comments on commit ecbb3b0

Please sign in to comment.