Skip to content

Commit 1643b21

Browse files
authored
Merge pull request #1046 from MobilityData/1034-change-how-often-were-pulling-the-data-to-daily
feat: updated schedule to run the job daily at midnight UTC
2 parents 380430d + 39744c8 commit 1643b21

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

infra/batch/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ resource "google_datastore_index" "batch_execution_index_execution_id_timestamp"
212212
name = "execution_id"
213213
direction = "ASCENDING"
214214
}
215+
215216
properties {
216217
name = "timestamp"
217218
direction = "ASCENDING"

infra/batch/vars.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ variable "job_schedule" {
2727
type = string
2828
description = "Schedule for the scheduler job"
2929
# default every week on monday at 00:00
30-
default = "0 0 * * 1"
30+
default = "0 0 * * *"
3131
}
3232

3333
variable "job_name" {

0 commit comments

Comments
 (0)