potiuk commented on issue #35998:
URL: https://github.com/apache/airflow/issues/35998#issuecomment-1836241002

   Don't use `days_ago`. It's a bad practice from Airlow 1.10 which we since 
fixed in all (I believe)  our examples and documentations. `days_ago` 
effectively calculates new start_date for the DAG every time the dag is parsed, 
which mean that yes - the dag is different every time.
   
   Generally when you create a DAG you should decide WHEN it's life  should 
start rather than continu moving the start date over and over again - which is 
effectively what days_ago does.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to