🗓️Airflow Scheduler
Also known as Scheduler (Airflow)
The Airflow part that starts runs on time. It queues tasks that are ready.
Think of it like
It is like a teacher with a bell. It rings to start each lesson and checks who is ready.
Example
At 6:00, the scheduler makes today's run of the sales DAG. A few seconds later, the first two tasks are queued.
Why it matters
Every task in Airflow starts because the scheduler said so. When tasks sit queued for a long time, the scheduler is the first place to look.
Definition
Common mistake
Key takeaways
- 1Make runs. Starts DAG runs when they are due.
- 2Find ready tasks. Checks that upstream tasks are done.
- 3Queue them. Hands ready tasks to the executor.