测试触发器

This commit is contained in:
Jian Shen
2023-03-18 15:23:50 +08:00
parent 0cfe28ae48
commit da08f4b06c
8 changed files with 12 additions and 15 deletions
+2 -2
View File
@@ -3,11 +3,11 @@ import pendulum
from airflow import DAG
with DAG(
"count_price_rent_dag",
dag_id="count_price_rent_dag",
# 每周日运行
schedule_interval="0 10 * * 7",
start_date=pendulum.datetime(2023, 3, 17, tz="Asia/Shanghai"),
catchup=True,
catchup=True
) as dag:
t1 = BashOperator(
task_id='community_count_price_rent',
+2 -2
View File
@@ -3,11 +3,11 @@ import pendulum
from airflow import DAG
with DAG(
"district_sell_deal_dag",
dag_id="district_sell_deal_dag",
# 每周五运行
schedule_interval="0 1 * * 5",
start_date=pendulum.datetime(2023, 3, 17, tz="Asia/Shanghai"),
catchup=True,
catchup=True
) as dag:
t1 = BashOperator(
task_id='district_count_thirdavg_deal',