Why is it recommended against using a dynamic start_date in Airflow?

First run would be at start_date+schedule_interval. It doesn’t run dag on start_date, it always runs on start_date+schedule_interval.

As they mentioned in document if you give start_date dynamic for e.g. datetime.now() and give some schedule_interval(1 hour), it will never execute that run as now() moves along with time and datetime.now()+ 1 hour is not possible

Leave a Comment