Airflow 如何在气流处启动捕集?

Airflow 如何在气流处启动捕集?,airflow,airflow-scheduler,Airflow,Airflow Scheduler,我正在使用气流GUI。 我将这些放在默认参数中: 'depends_on_past': False, 'retries': 3, 'cathup':True, 'start_date': datetime(2020,1,1), 在DAG参数中: default_args=default_args, start_date=datetime(2020,1,1), schedule_interval='12 11 * * *' catchup=

我正在使用气流GUI。 我将这些放在默认参数中:

'depends_on_past': False,  
'retries': 3,  
'cathup':True,  
'start_date': datetime(2020,1,1), 
在DAG参数中:

   default_args=default_args,  
    start_date=datetime(2020,1,1),  
    schedule_interval='12 11 * * *'  
    catchup=True  

但是,当11:12到来的时候,它会一直持续到今天,而不是别的。我想它会从1月1日开始自动回填,但事实并非如此。我做错了什么,或者我必须做什么才能让它自己触发?

是的,你是对的,它应该从(2020,1,1)开始。 也许您可以在aiffair.cfg上设置catchup,因此它将是默认设置

 Turn off scheduler catchup by setting this to False.
# Default behavior is unchanged and
# Command Line Backfills still work, but the scheduler
# will not do scheduler catchup if this is False,
# however it can be set on a per DAG basis in the
# DAG definition (catchup)

[scheduler]
catchup_by_default = True