From b65ec9d67422d926ab61fc101d75634d7373a4f1 Mon Sep 17 00:00:00 2001 From: Staci Mullins <63313398+stacimc@users.noreply.github.com> Date: Fri, 22 Sep 2023 10:53:37 -0700 Subject: [PATCH] Update data refreshes to run on Mondays UTC 0 (#3054) --- catalog/DAGs.md | 4 ++-- catalog/dags/data_refresh/data_refresh_types.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/catalog/DAGs.md b/catalog/DAGs.md index 903237bf3e5..ac3212fae71 100644 --- a/catalog/DAGs.md +++ b/catalog/DAGs.md @@ -34,10 +34,10 @@ The following are DAGs grouped by their primary tag: | DAG ID | Schedule Interval | | ------------------------------------------------------------- | ----------------- | -| [`audio_data_refresh`](#audio_data_refresh) | `0 0 * * 2` | +| [`audio_data_refresh`](#audio_data_refresh) | `0 0 * * 1` | | [`create_filtered_audio_index`](#create_filtered_audio_index) | `None` | | [`create_filtered_image_index`](#create_filtered_image_index) | `None` | -| [`image_data_refresh`](#image_data_refresh) | `0 0 * * 2` | +| [`image_data_refresh`](#image_data_refresh) | `0 0 * * 1` | ## Database diff --git a/catalog/dags/data_refresh/data_refresh_types.py b/catalog/dags/data_refresh/data_refresh_types.py index b315a94f118..33dedf9113f 100644 --- a/catalog/dags/data_refresh/data_refresh_types.py +++ b/catalog/dags/data_refresh/data_refresh_types.py @@ -46,7 +46,7 @@ class DataRefresh: dag_id: str = field(init=False) media_type: str start_date: datetime = datetime(2020, 1, 1) - schedule: str | None = "0 0 * * 2" + schedule: str | None = "0 0 * * 1" # Mondays 00:00 UTC default_args: dict | None = field(default_factory=dict) data_refresh_timeout: timedelta = timedelta(days=1) refresh_metrics_timeout: timedelta = timedelta(hours=1)