scheduler

Definition

Starts a scheduler instance. You can run this command by using the Add/Remove components action in ADCM.

Usage

$ airflow scheduler [-h] [-D] [-p] [-l LOG_FILE] [-n NUM_RUNS] [--pid [PID]]
                  [-s] [--stderr STDERR] [--stdout STDOUT] [-S SUBDIR] [-v]

Arguments

Parameter Description

-D, --daemon

Run as daemon instead of running in the foreground

-p, --do-pickle

Attempt to pickle the DAG object to send over to the workers, instead of letting workers run their version of the code

-l, --log-file

Location of the log file

-n, --num-runs

The number of runs to execute before exiting

--pid

PID file location

-s, --skip-serve-logs

Do not start the logs maintenance process along with the workers

--stderr

Redirect stderr to the specified file

--stdout

Redirect stdout to the specified file

-S, --subdir

File or directory location for DAGs. Defaults to [AIRFLOW_HOME]/dags, where [AIRFLOW_HOME] is the value set for AIRFLOW_HOME config in airflow.cfg

-h, --help

Print out the help manual for this command

-v, --verbose

Make logging output more verbose

Found a mistake? Seleсt text and press Ctrl+Enter to report it