GitHub user potiuk added a comment to the discussion: Airflow 3 Metadata DB and 
Log Cleanup Jobs?

> Is the DAG the right way to go about setting up DB cleanups or is there 
> another way recommended by Airflow which i seemed to have missed out on?

You can run regular cron or other way of scheduling simple jobs. There is no 
particular reason to mix scheduling of your Data pipelines with a cleanup of 
Airflow DB. Depending on your installation pretty much all installation methods 
have some form of regularly running "simple CLI command" without the complexity 
of Airflow DAG, dependencies, remote workers etc. 

GitHub link: 
https://github.com/apache/airflow/discussions/57746#discussioncomment-14859667

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to