airflow dags trigger <dag_id>

Trigger a DAG run

Arguments

NameDescription
dag_idThe id of the dag

Options

NameDescription
-h, --helpShow this help message and exit
-c, --conf <conf>JSON string that gets pickled into the DagRun's conf attribute
-e, --exec-date <exec_date>The execution date of the DAG
-r, --run-id <run_id>Helps to identify this run
-S, --subdir <subdir>File location or directory from which to look for the dag. Defaults to '[AIRFLOW_HOME]/dags' where [AIRFLOW_HOME] is the value you set for 'AIRFLOW_HOME' config you set in 'airflow.cfg'