|
|
|
@ -151,8 +151,8 @@ dag = DAG(
|
|
|
|
"fetch_daily_maximo_data",
|
|
|
|
"fetch_daily_maximo_data",
|
|
|
|
default_args=default_args,
|
|
|
|
default_args=default_args,
|
|
|
|
description="A DAG to fetch data from Maximo API endpoint asynchronously on a daily schedule",
|
|
|
|
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 to run daily at 21:00
|
|
|
|
schedule_interval="0 21-23 * * *",
|
|
|
|
schedule_interval="0 21 * * *",
|
|
|
|
start_date=days_ago(1),
|
|
|
|
start_date=days_ago(1),
|
|
|
|
tags=["maximo", "api", "fetch", "continuous", "daily", "async"],
|
|
|
|
tags=["maximo", "api", "fetch", "continuous", "daily", "async"],
|
|
|
|
catchup=False,
|
|
|
|
catchup=False,
|
|
|
|
|