How to add new DAGs to Airflow?

I think the reason for this is because you haven’t exported AIRFLOW_HOME.
Try doing:
AIRFLOW_HOME="/home/alex/airflow/dags" airflow list_dags.
If that’s not working than do two steps

export AIRFLOW_HOME="/home/alex/airflow/dags"
airflow list_dags

I believe this should work. Give it a go?

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)