城市区域价格涨跌幅
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
from airflow.operators.bash import BashOperator
|
||||
import pendulum
|
||||
from airflow import DAG
|
||||
|
||||
with DAG(
|
||||
dag_id="increase_decrease_city_region_dag",
|
||||
# 每月的最后一天运行
|
||||
schedule_interval="0 10 L * *",
|
||||
start_date=pendulum.datetime(2023, 3, 17, tz="Asia/Shanghai"),
|
||||
description="常用字段覆盖率统计",
|
||||
catchup=True
|
||||
) as dag:
|
||||
t1 = BashOperator(
|
||||
task_id='increase_decrease_city_region',
|
||||
bash_command='python /opt/airflow/dags/repo/dags/stat/cityPrice/increase_decrease_city_region.py',
|
||||
)
|
||||
t1
|
||||
Reference in New Issue
Block a user