weiminmei commented on PR #35392: URL: https://github.com/apache/airflow/pull/35392#issuecomment-2474172002
> > If `start_date` would be set correctly there won't be an immediate run. > > What is the proper `start_date` to set to prevent an immediate run when enabling a DAG? The organizations I have worked with struggle with this a lot. We don't want to hard-code a `start_date`, and it seems like using a dynamic start_date is [discouraged](https://airflow.apache.org/docs/apache-airflow/stable/faq.html#what-s-the-deal-with-start-date) in the Airflow documentation. We are confused as to how we can deploy a DAG to different environments at different points in time and just get them to run once per day starting at the next valid interval, without an immediate execution upon enablement What I have been having to do is update the start_date to a future date and then turn on the DAG, this is very inconvenient and I would surmise almost impossible for people with many dags. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
