How can i schedule automatic scheduler restarts?


#1

I want the scheduler to restart automatically after a given amount of time


#2

You can configure the run_duration as an env variable:

In the Dockerfile, add the line:

ENV__AIRFLOW__SCHEDULER__RUN_DURATION=3600

to get it to restart every hour.