Airflow unpause dag programmatically?

后端 未结 4 819
醉话见心
醉话见心 2020-12-16 18:26

I have a dag that we\'ll deploy to multiple different airflow instances and in our airflow.cfg we have dags_are_paused_at_creation = True but for this specific

4条回答
  •  囚心锁ツ
    2020-12-16 18:52

    supply your dag_id and run this command on your command line.

    airflow pause dag_id.
    

    For more information on the airflow command line interface: https://airflow.incubator.apache.org/cli.html

提交回复
热议问题