测试触发器
This commit is contained in:
@@ -3,11 +3,11 @@ import pendulum
|
||||
from airflow import DAG
|
||||
|
||||
with DAG(
|
||||
"amap_key_generate_dag",
|
||||
dag_id="amap_key_generate_dag",
|
||||
# 每天运行
|
||||
schedule_interval="0/1 14 * * *",
|
||||
start_date=pendulum.datetime(2023, 3, 18, tz="Asia/Shanghai"),
|
||||
catchup=True,
|
||||
catchup=True
|
||||
) as dag:
|
||||
t1 = BashOperator(
|
||||
task_id='amap_key_generate',
|
||||
|
||||
@@ -3,7 +3,7 @@ import pendulum
|
||||
from airflow import DAG
|
||||
|
||||
with DAG(
|
||||
"change_new_to_old_seaweed_dag",
|
||||
dag_id="change_new_to_old_seaweed_dag",
|
||||
# 每月1日1点运行
|
||||
schedule_interval="0 1 1 * *",
|
||||
start_date=pendulum.datetime(2023, 2, 10, tz="Asia/Shanghai"),
|
||||
|
||||
@@ -3,7 +3,7 @@ import pendulum
|
||||
from airflow import DAG
|
||||
|
||||
with DAG(
|
||||
"community_summary_dag",
|
||||
dag_id="community_summary_dag",
|
||||
# 每月2日1点整分运行
|
||||
schedule_interval="0 1 2 * *",
|
||||
start_date=pendulum.datetime(2023, 3, 16, tz="Asia/Shanghai"),
|
||||
|
||||
@@ -3,7 +3,7 @@ import pendulum
|
||||
from airflow import DAG
|
||||
|
||||
with DAG(
|
||||
"didata_sync_dag",
|
||||
dag_id="didata_sync_dag",
|
||||
# 每月28日3点整分运行
|
||||
schedule_interval="0 3 28 * *",
|
||||
start_date=pendulum.datetime(2023, 3, 17, tz="Asia/Shanghai"),
|
||||
|
||||
Reference in New Issue
Block a user