优化定时

This commit is contained in:
沈健
2025-03-03 09:44:23 +08:00
parent 3a30ed8880
commit 5b5252c185
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ with DAG(
) as dag:
t1 = BashOperator(
task_id='base_price',
bash_command='python /opt/airflow/dags/repo/dags/office/rent/base_price.py',
bash_command='python /opt/airflow/dags/repo/dags/office/rent/base_price.py {{dag_run.conf["yearmonth"] if "yearmonth" in dag_run.conf}}',
)
t1