Skip to content
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@saaifali
Comment options

Answer selected by saaifali
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants