Hi,
Let's say I deploy the following DAG at 2019-04-17 5 PM
DAG(
dag_id="dag",
start_date=datetime(year=2018, month=1, day=1, hour=2, minute=0),
schedule_interval="0 2 * * *,
default_view="graph",
orientation="TB",
concurrency=1,
max_active_runs=1,
catchup=False)
I noticed that DAG will be first scheduled for yesterday ie 2019-04-16 2
AM. How can I avoid this? I want the DAG to be scheduled in the future
according to the cron expression ie 2019-04-18 2 AM.
Setting schedule_interval as
schedule_interval=timedelta(hours=24),
correct me if I am wrong but Airflow seems to schedule DAG 24 hours in the
past from the time DAG was deployed.
Thanks,
Pawel