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
--num-runs=5 will make scheduler run task instances 5 times. You can remove that arguments to make scheduler long running.
--num-runs=5
Ideally you should run that scheduler under supervisor, so when the process crashed / stopped, it will rerun.