rishabh643 opened a new issue, #29149:
URL: https://github.com/apache/airflow/issues/29149

   ### Description
   
   Can we have a parameter in airflow that can disable scheduling for all dags 
that are present?
   I know one can disable dags individually or can turn off the scheduler 
altogether.
   But I am specifically looking for a parameter through which we can disable 
the scheduling of all dags without bringing down the scheduler.
   
   ### Use case/motivation
   
   We are creating a Disaster Recovery setup. In which primary site will be up 
and running.
   While the secondary site should be up with minimum replicas and no one 
should be able to trigger the dags on the secondary.
   In order to do so I want to set up airflow on secondary with this parameter 
enabled. So that no one even by mistake can run enable the dag from the UI and 
run it.
   
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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.apache.org

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

Reply via email to