Triggering a pipeline from the CLI
Most of the time, the scheduler runs your Dag for you, but sometimes you need to run it yourself, for a one-off date or a quick reprocess. The daily_sales_load Dag is already active, and the scheduler has produced one scheduled run. You'll trigger a second run from the CLI and compare how Airflow tags each one.
- Run
airflow dags trigger daily_sales_load --logical-date 2026-04-20in the terminal to trigger a run for a specific date. - Wait about 30 seconds for the manual run to complete.
- Run
airflow dags list-runs daily_sales_loadto see all runs.
After running airflow dags list-runs, you see two runs. Look at the run_id column. What prefix does your manually triggered run start with?
Este ejercicio forma parte del curso
Building Data Pipelines with Airflow
ejercicio interactivo práctico
Convierte la teoría en práctica con uno de nuestros ejercicios interactivos
Empezar ejercicio