Skip to content

Commit

Permalink
[Issue #3134] Add schedule for export-opportunity-data (#3135)
Browse files Browse the repository at this point in the history
## Summary
Fixes #3134

### Time to review: 5 mins

## Changes proposed
Add a scheduler to run this task.

## Context for reviewers
Last bit of work for the export to run nightly.
  • Loading branch information
mikehgrantsgov authored Dec 6, 2024
1 parent 978ebbb commit d79af8a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions infra/api/app-config/env-config/scheduled_jobs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,11 @@ locals {
schedule_expression = "cron(30 * * * ? *)"
state = "ENABLED"
}
export-opportunity-data = {
task_command = ["poetry", "run", "flask", "task", "export-opportunity-data"]
# Every day at 4am Eastern Time during DST. 5am during non-DST.
schedule_expression = "cron(0 9 * * ? *)"
state = "ENABLED"
}
}
}

0 comments on commit d79af8a

Please sign in to comment.