# Airflow Scheduler

> The Airflow part that starts runs on time. It queues tasks that are ready.

**Field:** Data Engineering  
**Category:** Orchestration  
**Also known as:** Scheduler (Airflow)

## Think of it like

It is like a teacher with a bell. It rings to start each lesson and checks who is ready.

## Definition

The Airflow scheduler is the part that decides what runs next. It makes new DAG runs when their time comes. It checks which tasks have all their upstream tasks done. It puts those tasks in a queue for the executor. It runs nonstop, and you can run more than one for safety. If it stops, nothing new starts.

## 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.

## Common mistake

Thinking the scheduler runs the tasks. It only decides. The executor and its workers do the running.

## Three principles

- **Make runs.** Starts DAG runs when they are due.
- **Find ready tasks.** Checks that upstream tasks are done.
- **Queue them.** Hands ready tasks to the executor.

## Related terms

- [Apache Airflow](https://learn.benibix.com/term/data/apache-airflow)
- [Airflow Executor](https://learn.benibix.com/term/data/airflow-executor)
- [Workflow Scheduler](https://learn.benibix.com/term/data/workflow-scheduler)
- [Airflow Metadata Database](https://learn.benibix.com/term/data/airflow-metadata-database)

## Told apart from

- [Airflow Scheduler vs Airflow Executor](https://learn.benibix.com/compare/airflow-scheduler-vs-airflow-executor): People think the Airflow scheduler runs the tasks. It only decides which tasks are ready and puts them in a queue. The executor takes them from the queue and runs them, on one machine or many. A slow queue and a slow task have different fixes.

![DAG files in a folder are read by a DAG processor into a metadata database. The scheduler reads the database, decides which tasks are ready and hands them to an executor, which runs them on workers. The web UI reads the same database.](https://learn.benibix.com/diagrams/airflow-architecture.svg)

---

Source: https://learn.benibix.com/term/data/airflow-scheduler
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
