From 8c4c9cea4cf915592c94270ad28091843669f7f5 Mon Sep 17 00:00:00 2001 From: Michael Chouinard Date: Tue, 29 Oct 2024 16:05:27 -0400 Subject: [PATCH] [Issue #2528] Change job schedule ELT process to hourly --- infra/api/app-config/env-config/scheduled_jobs.tf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/infra/api/app-config/env-config/scheduled_jobs.tf b/infra/api/app-config/env-config/scheduled_jobs.tf index 9950d79ae..3ac2f8232 100644 --- a/infra/api/app-config/env-config/scheduled_jobs.tf +++ b/infra/api/app-config/env-config/scheduled_jobs.tf @@ -40,14 +40,10 @@ locals { ], } scheduled_jobs = { - copy-oracle-data = { - task_command = ["poetry", "run", "flask", "data-migration", "copy-oracle-data"] - schedule_expression = "rate(2 minutes)" - state = "ENABLED" - } load-transform = { task_command = local.load-transform-args[var.environment] - schedule_expression = "rate(1 days)" + # Every hour at the top of the hour + schedule_expression = "cron(0 * * * ? *)" state = "ENABLED" } }