重新运行DAG按顺序运行

问题描述 投票:1回答:1

假设我有一个DAG计划每天运行,今天是星期天。是否有办法告诉Airflow从星期一到今天重新运行所有DAG运行?

airflow airflow-scheduler
1个回答
0
投票

您可能希望使用参数:depends_on_pastwait_for_downstream作为dag,这将强制任务等待先前的任务。https://airflow.apache.org/docs/stable/_api/airflow/models/index.html#airflow.models.BaseOperator

© www.soinside.com 2019 - 2024. All rights reserved.