I am new to airflow. I am trying to run the airflow scheduler as a daemon process, but this process is no longer. I configured "LocalExecutor" in the airflow.cfg file and ran the following command for the launch scheduler. (I use the google computation mechanism and access to the server via putty)
airflow scheduler --daemon --num_runs=5 --log-file=/root/airflow/logs/scheduler.log
When I run this command, the airflow scheduler starts, and I see the airflow-scheduler.pid file in the home folder with the airflow, but the process does not take longer. when I close the session in putty and reconnect the server, I cannot find the scheduler process. Am I missing something? how to run the scheduler as a daemon process?
source
share