from datetime import timedelta from airflow.operators.bash import BashOperator import pendulum from airflow import DAG with DAG( dag_id="didata_company", schedule_interval=None, start_date=pendulum.datetime(2025, 6, 5, tz="Asia/Shanghai"), catchup=True, description="企业涉农处理" ) as dag: # t1 = BashOperator( # task_id='fill_commpany_comm', # bash_command='python /opt/airflow/dags/repo/dags/company/company/fill_company_comm.py', # ) # t2 = BashOperator( # task_id='fill_commpany_dev', # bash_command='python /opt/airflow/dags/repo/dags/company/company/fill_company_dev.py', # ) t3 = BashOperator( task_id='mark_right_dev', bash_command='python /opt/airflow/dags/repo/dags/company/company/mark_right_dev.py', ) t3