优化
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user