Many of the airflow example dags that have schedule_interval=None
set a dynamic start date like airflow.utils.dates.days_ago(2)
or datetime.utcnow()
. However, the docs recommend against a dynamic start date:
We recommend against using dynamic values as start_date, especially datetime.now() as it can be quite confusing. The task is triggered once the period closes, and in theory an @hourly DAG would never get to an hour after now as now() moves along.
Is start date irrelevant for manually triggered dags? What is the best practice here?