Airflow scheduler CLI command have a new --only-idle flag to only count runs when the scheduler is idle.
It will help users to run the scheduler once and process all the triggered DAGs and all the queued tasks.
It requires and complements the --num-runs flag so one can set a small value to it instead of gessing how many times the scheduler will run.
- Types of change
- [ ] Dag changes
- [ ] Config changes
- [ ] API changes
- [X] CLI changes
- [ ] Behaviour changes
- [ ] Plugin changes
- [ ] Dependency changes
- [ ] Code interface changes