优化更新
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
"""
|
||||
写字楼基准价计算
|
||||
"""
|
||||
from airflow.operators.bash import BashOperator
|
||||
|
||||
import pendulum
|
||||
|
||||
from airflow import DAG
|
||||
|
||||
with DAG(
|
||||
dag_id="office_base_price_dag",
|
||||
schedule_interval="0 1 27 * *",
|
||||
start_date=pendulum.datetime(2025, 2, 28, tz="Asia/Shanghai"),
|
||||
catchup=True,
|
||||
description="写字楼基准价计算"
|
||||
) as dag:
|
||||
t1 = BashOperator(
|
||||
task_id='base_price',
|
||||
bash_command='python /opt/airflow/dags/repo/dags/office/rent/base_price.py',
|
||||
)
|
||||
t1
|
||||
|
||||
Reference in New Issue
Block a user