diff --git a/dags/office/dag_rent.py b/dags/office/dag_rent.py index 2be459c..6687cee 100644 --- a/dags/office/dag_rent.py +++ b/dags/office/dag_rent.py @@ -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 diff --git a/dags/office/rent/RegionPrice.py b/dags/office/rent/price.py similarity index 100% rename from dags/office/rent/RegionPrice.py rename to dags/office/rent/price.py