How to run airflow scheduler as a daemon process?

后端 未结 3 1269
感动是毒
感动是毒 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条回答
  •  猫巷女王i
    2021-01-02 19:06

    I had a similar problem. My airflow scheduler did not keep running as a deamon process when I executed scheduler as deamon:

    airflow scheduler -D
    

    But the scheduler did work when I ran it normally. After I deleted the airflow-scheduler.err file and rerun the scheduler as a deamon process it started working:

    rm airflow-scheduler.err
    airflow scheduler -D
    

提交回复
热议问题