新增周边医院入库

This commit is contained in:
Jian Shen
2022-06-20 09:40:04 +08:00
parent ef0229e75c
commit 9a1f6a988e
5 changed files with 133 additions and 3 deletions
+22
View File
@@ -0,0 +1,22 @@
"""
小区周边银行DAG
"""
from airflow.operators.bash import BashOperator
import pendulum
from airflow import DAG
with DAG(
"district_hospital_dag",
# 每月1日17点运行
schedule_interval="0 0 17 1 * ?",
start_date=pendulum.datetime(2022, 6, 20, tz="Asia/Shanghai"),
catchup=True,
) as dag:
t1 = BashOperator(
task_id='district_hospital',
bash_command='python /opt/airflow/dags/repo/dags/poi/business/district_hospital.py',
)
t1