I want the scheduler to restart automatically after a given amount of time
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.
2 Likes