Skip to content

Commit b235411

Browse files
committed
[doc] clarification around the scheduler
1 parent 406d31c commit b235411

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/scheduler.rst

+12-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,20 @@ The Scheduler
44
The Airflow scheduler monitors all tasks and all dags and schedules the
55
task instances whose dependencies have been met. Behinds the scene,
66
it monitors a folder for all dag objects it may contain,
7-
and periodically inspects all tasks to see whether is can schedule the
7+
and periodically inspects all tasks to see whether it can schedule the
88
next run.
99

10+
The scheduler starts an instance of the executor specified in the your
11+
``airflow.cfg``, if it happens to be the LocalExecutor, tasks will be
12+
executed as subprocesses, in the case of CeleryExecutor, tasks are
13+
executed remotely.
14+
15+
To start a scheduler, simply run the command:
16+
17+
.. code:: bash
18+
19+
airflow scheduler
20+
1021
Note that:
1122

1223
* It **won't parallelize** multiple instances of the same tasks, it always wait for the previous schedule to be done to move forward

0 commit comments

Comments
 (0)