-
|
HI, I tried converting my DAGS to run the CLI command : 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? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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. |
Beta Was this translation helpful? Give feedback.
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.