Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Start data refresh schedule on Tuesdays UTC 00:00 (#2984)

Cullen Watson83e6aaa09305
diff --git a/catalog/DAGs.md b/catalog/DAGs.md
index 2405915d0..1aee77483 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) | `@weekly` |
+| [`audio_data_refresh`](#audio_data_refresh) | `0 0 * * 2` |
| [`create_filtered_audio_index`](#create_filtered_audio_index) | `None` |
| [`create_filtered_image_index`](#create_filtered_image_index) | `None` |
-| [`image_data_refresh`](#image_data_refresh) | `@weekly` |
+| [`image_data_refresh`](#image_data_refresh) | `0 0 * * 2` |
## Database
diff --git a/catalog/dags/data_refresh/data_refresh_types.py b/catalog/dags/data_refresh/data_refresh_types.py
index 7514793e5..b315a94f1 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 = "@weekly"
+ schedule: str | None = "0 0 * * 2"
default_args: dict | None = field(default_factory=dict)
data_refresh_timeout: timedelta = timedelta(days=1)
refresh_metrics_timeout: timedelta = timedelta(hours=1)