How to run airflow scheduler as a daemon process?

后端 未结 3 1268
感动是毒
感动是毒 2021-01-02 18:45

I am new to Airflow. I am trying to run airflow scheduler as a daemon process, but the process does not live for long. I have configured \"LocalExecutor\" in airflow.cfg fil

3条回答
  •  灰色年华
    2021-01-02 19:02

    --num-runs=5 will make scheduler run task instances 5 times. You can remove that arguments to make scheduler long running.

    Ideally you should run that scheduler under supervisor, so when the process crashed / stopped, it will rerun.

提交回复
热议问题