Skip to content

Commit

Permalink
[Issue #2528] Change job schedule ELT process to hourly
Browse files Browse the repository at this point in the history
  • Loading branch information
chouinar committed Oct 29, 2024
1 parent a12f926 commit 8c4c9ce
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions infra/api/app-config/env-config/scheduled_jobs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Expand Down

0 comments on commit 8c4c9ce

Please sign in to comment.