23 lines
393 B
Python
23 lines
393 B
Python
"""
|
|
小区周边配套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
|
|
|