Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -6,12 +6,12 @@ with DAG(
|
|||||||
dag_id="community_rating_dag",
|
dag_id="community_rating_dag",
|
||||||
# 每月的最后一天运行
|
# 每月的最后一天运行
|
||||||
schedule_interval="0 20 * * 6",
|
schedule_interval="0 20 * * 6",
|
||||||
start_date=pendulum.datetime(2025, 6, 12, tz="Asia/Shanghai"),
|
start_date=pendulum.datetime(2025, 6, 9, tz="Asia/Shanghai"),
|
||||||
description="小区楼盘评级计算",
|
description="小区楼盘评级计算",
|
||||||
catchup=True
|
catchup=True
|
||||||
) as dag:
|
) as dag:
|
||||||
t1 = BashOperator(
|
t1 = BashOperator(
|
||||||
task_id='community_rating',
|
task_id='community_rating',
|
||||||
bash_command='python /opt/airflow/dags/repo/dags/stat/community/community_rate.py --param1 "{{ dag_run.conf.get("city", "all")}}"'
|
bash_command='python /opt/airflow/dags/repo/dags/stat/community/community_rate.py --city "{{ dag_run.conf.get("city", "all")}}"'
|
||||||
)
|
)
|
||||||
t1
|
t1
|
||||||
Reference in New Issue
Block a user