对于所有达格:
更改dags_are_paused_at_creation为False在airflow.cfg.
您将在部分中找到它[core]。
[core]
# Are DAGs paused by default at creation
dags_are_paused_at_creation = False
Run Code Online (Sandbox Code Playgroud)
Single DAG:如果不想对所有 DAG 进行更改,可以is_paused_upon_creation=True在创建 DAG 对象时设置。
例子:
[core]
# Are DAGs paused by default at creation
dags_are_paused_at_creation = False
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1032 次 |
| 最近记录: |