airflow dags trigger <dag_id>
Trigger a DAG run
Arguments
Name | Description |
---|---|
dag_id | The id of the dag |
Options
Name | Description |
---|---|
-h, --help | Show 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' |