新增周边配套
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
"""
|
||||
小区周边配套DAG
|
||||
"""
|
||||
from airflow.operators.bash import BashOperator
|
||||
|
||||
import pendulum
|
||||
|
||||
from airflow import DAG
|
||||
|
||||
|
||||
with DAG(
|
||||
"district_bank_dag",
|
||||
schedule_interval="@monthly",
|
||||
start_date=pendulum.datetime(2022, 6, 18, tz="UTC"),
|
||||
catchup=True,
|
||||
) as dag:
|
||||
t1 = BashOperator(
|
||||
task_id='district_bank',
|
||||
bash_command='business/district_bank',
|
||||
)
|
||||
t1
|
||||
|
||||
Reference in New Issue
Block a user