To run any DAGs, you need to make sure two processes are running:
airflow webserver
airflow scheduler
If you only have airflow webserver
running, the UI will show DAGs as running
, but if you click on the DAG, none of it’s tasks are actually running
or scheduled
, but rather in a Null
state.
What this means is that they are waiting to be picked up by airflow scheduler
. If airflow scheduler
is not running, you’ll be stuck in this state forever, as the tasks are never picked up for execution.
Additionally, make sure that the toggle button in the DAGs view is switched to ‘ON’ for the particular DAG. Otherwise it will not get picked up by the scheduler if you trigger it manually.