unpause

Definition

Resumes one or more DAGs. This command allows to restore the execution of specified DAGs, enabling further task scheduling.

Usage

$ airflow dags unpause [-h] [-o table, json, yaml, plain] [-S SUBDIR]
                     [--treat-dag-id-as-regex] [-v] [-y]
                     dag_id

Arguments

Parameter Description

dag_id

ID of the DAG

--treat-dag-id-as-regex

If set, dag_id will be treated as regex instead of a string

-o, --output

Output format. Possible values: table, json, yaml, plain. Default: table

-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

-y, --yes

Do not prompt for confirmation

Examples

To unpause the tutorial DAG, run:

$ airflow dags unpause tutorial

Output example:

Dag: tutorial, paused: False
Found a mistake? Seleсt text and press Ctrl+Enter to report it