新增第三方过滤

This commit is contained in:
2022-11-21 16:12:05 +08:00
parent 0baa286567
commit fad0729bf3
2 changed files with 352 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
from airflow.operators.bash import BashOperator
import pendulum
from airflow import DAG
with DAG(
dag_id="third_price_dag",
# 每月23日运行
schedule_interval="0 16 18 * *",
start_date=pendulum.datetime(2022, 18, 16, tz="Asia/Shanghai"),
catchup=True,
description="建行过滤第三方均价"
) as dag:
t1 = BashOperator(
task_id='third_price',
bash_command='python /opt/airflow/dags/repo/dags/jh/price/third_price.py',
)
t1