执行 dataX 数据同步命令

:: 执行 dataX 数据同步命令
@echo off
set day_interval=7
@echo =========开始执行dataX数据同步=========
@echo 时间周期为最近%day_interval%天......
set CURRENT_DATE_TIME=%date:~0,4%-%date:~5,2%-%date:~8,2%
echo %CURRENT_DATE_TIME%
echo %date%

cd /d G:\Data Bakup
python F:\datax\bin\datax.py F:\datax\job\form_classify_record.json
python F:\datax\bin\datax.py F:\datax\job\form_classify.json
python F:\datax\bin\datax.py F:\datax\job\form_fail_record.json
python F:\datax\bin\datax.py F:\datax\job\form_items_record_stat.json
python F:\datax\bin\datax.py F:\datax\job\form_items_record.json
python F:\datax\bin\datax.py F:\datax\job\form_items.json
python F:\datax\bin\datax.py F:\datax\job\form_mould_record.json
python F:\datax\bin\datax.py F:\datax\job\form_mould.json
python F:\datax\bin\datax.py F:\datax\job\form_review_permission_record.json
python F:\datax\bin\datax.py F:\datax\job\form_review_permission.json
python F:\datax\bin\datax.py F:\datax\job\error_business.json
python F:\datax\bin\datax.py F:\datax\job\idispatch_space_group.json
python F:\datax\bin\datax.py F:\datax\job\idispatch_task_execute.json
python F:\datax\bin\datax.py F:\datax\job\idispatch_user_task.json
python F:\datax\bin\datax.py F:\datax\job\idispatch_work_group.json
python F:\datax\bin\datax.py F:\datax\job\platform_bed.json
python F:\datax\bin\datax.py F:\datax\job\platform_dept.json
python F:\datax\bin\datax.py F:\datax\job\platform_hospital_key.json
python F:\datax\bin\datax.py F:\datax\job\platform_laboratory.json
python F:\datax\bin\datax.py F:\datax\job\platform_patient.json
python F:\datax\bin\datax.py F:\datax\job\platform_patient_bed_his.json
python F:\datax\bin\datax.py F:\datax\job\platform_patient_info.json
python F:\datax\bin\datax.py F:\datax\job\platform_task_attachment.json
python F:\datax\bin\datax.py F:\datax\job\platform_task_info.json
python F:\datax\bin\datax.py F:\datax\job\platform_task_item.json
python F:\datax\bin\datax.py F:\datax\job\flow_catalog.json
python F:\datax\bin\datax.py F:\datax\job\flow_repair_accept.json
python F:\datax\bin\datax.py F:\datax\job\flow_repair_installation.json
python F:\datax\bin\datax.py F:\datax\job\flow_step.json
python F:\datax\bin\datax.py F:\datax\job\flow_task.json
python F:\datax\bin\datax.py F:\datax\job\flow_task_exc.json
python F:\datax\bin\datax.py F:\datax\job\flow_task_mould.json
python F:\datax\bin\datax.py F:\datax\job\flow_task_mould_classify.json
python F:\datax\bin\datax.py F:\datax\job\flow_task_phenomenon.json
python F:\datax\bin\datax.py F:\datax\job\flow_task_record.json
python F:\datax\bin\datax.py F:\datax\job\flow_task_step.json
python F:\datax\bin\datax.py F:\datax\job\itask_attachment.json
python F:\datax\bin\datax.py F:\datax\job\itask_content.json
python F:\datax\bin\datax.py F:\datax\job\itask_content_entrust.json
python F:\datax\bin\datax.py F:\datax\job\itask_cycle_task_area.json
python F:\datax\bin\datax.py F:\datax\job\itask_cycle_task_conf.json
python F:\datax\bin\datax.py F:\datax\job\itask_entrust.json
python F:\datax\bin\datax.py F:\datax\job\itask_ext_sys_user.json
python F:\datax\bin\datax.py F:\datax\job\itask_remind.json
python F:\datax\bin\datax.py F:\datax\job\itask_task_changelog.json
python F:\datax\bin\datax.py F:\datax\job\itask_task_content.json
python F:\datax\bin\datax.py F:\datax\job\itask_task_content_back.json
python F:\datax\bin\datax.py F:\datax\job\itask_trans_catalog.json
python F:\datax\bin\datax.py F:\datax\job\itask_trans_task.json
python F:\datax\bin\datax.py F:\datax\job\itask_trans_task_back.json
python F:\datax\bin\datax.py F:\datax\job\itask_transport.json
python F:\datax\bin\datax.py F:\datax\job\itask_user_location.json
python F:\datax\bin\datax.py F:\datax\job\itask_worker_relation.json
python F:\datax\bin\datax.py F:\datax\job\media_upload.json
python F:\datax\bin\datax.py F:\datax\job\compact_info.json
python F:\datax\bin\datax.py F:\datax\job\compact_file.json
python F:\datax\bin\datax.py F:\datax\job\compact_location.json
python F:\datax\bin\datax.py F:\datax\job\compact_record.json
python F:\datax\bin\datax.py F:\datax\job\accom_resident.json
python F:\datax\bin\datax.py F:\datax\job\accom_resident_log.json
python F:\datax\bin\datax.py F:\datax\job\accom_room.json
python F:\datax\bin\datax.py F:\datax\job\space_building.json
python F:\datax\bin\datax.py F:\datax\job\space_floor.json
python F:\datax\bin\datax.py F:\datax\job\space_rfid_relation.json
python F:\datax\bin\datax.py F:\datax\job\space_room.json
python F:\datax\bin\datax.py F:\datax\job\space_zone.json


set FINISH_DATE_TIME=%date:~0,4%-%date:~5,2%-%date:~8,2%
echo %date%
@echo ===============执行结束==========================================

上一篇:DATAX避坑点——MySQL到MYSQL,某个垃圾教程(简书)中,误导新手


下一篇:Apache doris Datax DorisWriter扩展使用方法