first run after turning on will be the latest scheduled run #45768
Open
Description
Body
Description
Currently, catchup=False means "first run after turning on will be the latest scheduled run" and there is no way to produce the behavior where turning on a DAG means "make the first run after turning on occur at the next schedule time instead of the previous one".
Proposal: make a new flag (call it something to the effect of no_catchup_means_no_past_runs) which when set to True means that turning on a DAG that has the setting catchup=False will result in the first run being the one on the schedule that occurs next in time (rather than the one that occurs in the most recent past).
Use case/motivation
The use case is whenever you want to turn on a DAG without it running right away.
Committer
- I acknowledge that I am a maintainer/committer of the Apache Airflow project.