This commit is contained in:
沈健
2025-01-21 15:30:46 +08:00
parent a226629f9c
commit 72fcacd73f
2 changed files with 3 additions and 2 deletions
+3 -2
View File
@@ -12,11 +12,12 @@ with DAG(
# 每月25日1点运行
schedule_interval="0 1 25 * *",
start_date=pendulum.datetime(2024, 7, 17, tz="Asia/Shanghai"),
catchup=True
catchup=True,
description="写字楼租金城市区域均价价格计算"
) as dag:
t1 = BashOperator(
task_id='rent',
bash_command='python /opt/airflow/dags/repo/dags/office/rent/RegionPrice.py {{dag_run.conf["yearmonth"] if "yearmonth" in dag_run.conf}} ',
bash_command='python /opt/airflow/dags/repo/dags/office/rent/price.py {{dag_run.conf["yearmonth"] if "yearmonth" in dag_run.conf}} ',
)
t1