From 89d6660cbc0cee39ddf9aa5283943d0288ee7c84 Mon Sep 17 00:00:00 2001 From: MrWaradana Date: Mon, 14 Apr 2025 13:51:48 +0700 Subject: [PATCH] fix(maximo): start time fetch only at 21.00 --- dags/fetch_maximo_daily.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dags/fetch_maximo_daily.py b/dags/fetch_maximo_daily.py index c41376f..92ee654 100644 --- a/dags/fetch_maximo_daily.py +++ b/dags/fetch_maximo_daily.py @@ -151,8 +151,8 @@ dag = DAG( "fetch_daily_maximo_data", default_args=default_args, description="A DAG to fetch data from Maximo API endpoint asynchronously on a daily schedule", - # Schedule to run daily at 21:00, 22:00, and 23:00 - schedule_interval="0 21-23 * * *", + # Schedule to run daily at 21:00 + schedule_interval="0 21 * * *", start_date=days_ago(1), tags=["maximo", "api", "fetch", "continuous", "daily", "async"], catchup=False,