I have a DAG. Here is a sample of the parameters.
dag = DAG(
'My Dag',
default_args=default_args,
description='Cron Job : My Dag',
schedule_interval='45 07 * * *',
# start_date=days_ago(0),
start_date = datetime(2021, 4, 6, 10, 45),
tags=['My Dag Tag'],
concurrency = 1,
is_paused_upon_creation=True,
catchup=False # Don’t run previous and backfill; run only latest
)
Reading the documentation from Apache Airflow, I think I have set the DAG to run at 7:45 every day. However, if I pause the DAG and unpause it a couple of days later, it still runs as soon as I unpause it (of course, for that day) as catch=False which avoids backfills.
That is not the expected behaviour, right?
I mean, I scheduled it on 7:45. When I unpause it at 10:00, it should not be running at all until the next 7:45.
What am I missing here?