• 执行 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:dataxindatax.py F:dataxjobform_classify_record.json
    python F:dataxindatax.py F:dataxjobform_classify.json
    python F:dataxindatax.py F:dataxjobform_fail_record.json
    python F:dataxindatax.py F:dataxjobform_items_record_stat.json
    python F:dataxindatax.py F:dataxjobform_items_record.json
    python F:dataxindatax.py F:dataxjobform_items.json
    python F:dataxindatax.py F:dataxjobform_mould_record.json
    python F:dataxindatax.py F:dataxjobform_mould.json
    python F:dataxindatax.py F:dataxjobform_review_permission_record.json
    python F:dataxindatax.py F:dataxjobform_review_permission.json
    python F:dataxindatax.py F:dataxjoberror_business.json
    python F:dataxindatax.py F:dataxjobidispatch_space_group.json
    python F:dataxindatax.py F:dataxjobidispatch_task_execute.json
    python F:dataxindatax.py F:dataxjobidispatch_user_task.json
    python F:dataxindatax.py F:dataxjobidispatch_work_group.json
    python F:dataxindatax.py F:dataxjobplatform_bed.json
    python F:dataxindatax.py F:dataxjobplatform_dept.json
    python F:dataxindatax.py F:dataxjobplatform_hospital_key.json
    python F:dataxindatax.py F:dataxjobplatform_laboratory.json
    python F:dataxindatax.py F:dataxjobplatform_patient.json
    python F:dataxindatax.py F:dataxjobplatform_patient_bed_his.json
    python F:dataxindatax.py F:dataxjobplatform_patient_info.json
    python F:dataxindatax.py F:dataxjobplatform_task_attachment.json
    python F:dataxindatax.py F:dataxjobplatform_task_info.json
    python F:dataxindatax.py F:dataxjobplatform_task_item.json
    python F:dataxindatax.py F:dataxjobflow_catalog.json
    python F:dataxindatax.py F:dataxjobflow_repair_accept.json
    python F:dataxindatax.py F:dataxjobflow_repair_installation.json
    python F:dataxindatax.py F:dataxjobflow_step.json
    python F:dataxindatax.py F:dataxjobflow_task.json
    python F:dataxindatax.py F:dataxjobflow_task_exc.json
    python F:dataxindatax.py F:dataxjobflow_task_mould.json
    python F:dataxindatax.py F:dataxjobflow_task_mould_classify.json
    python F:dataxindatax.py F:dataxjobflow_task_phenomenon.json
    python F:dataxindatax.py F:dataxjobflow_task_record.json
    python F:dataxindatax.py F:dataxjobflow_task_step.json
    python F:dataxindatax.py F:dataxjobitask_attachment.json
    python F:dataxindatax.py F:dataxjobitask_content.json
    python F:dataxindatax.py F:dataxjobitask_content_entrust.json
    python F:dataxindatax.py F:dataxjobitask_cycle_task_area.json
    python F:dataxindatax.py F:dataxjobitask_cycle_task_conf.json
    python F:dataxindatax.py F:dataxjobitask_entrust.json
    python F:dataxindatax.py F:dataxjobitask_ext_sys_user.json
    python F:dataxindatax.py F:dataxjobitask_remind.json
    python F:dataxindatax.py F:dataxjobitask_task_changelog.json
    python F:dataxindatax.py F:dataxjobitask_task_content.json
    python F:dataxindatax.py F:dataxjobitask_task_content_back.json
    python F:dataxindatax.py F:dataxjobitask_trans_catalog.json
    python F:dataxindatax.py F:dataxjobitask_trans_task.json
    python F:dataxindatax.py F:dataxjobitask_trans_task_back.json
    python F:dataxindatax.py F:dataxjobitask_transport.json
    python F:dataxindatax.py F:dataxjobitask_user_location.json
    python F:dataxindatax.py F:dataxjobitask_worker_relation.json
    python F:dataxindatax.py F:dataxjobmedia_upload.json
    python F:dataxindatax.py F:dataxjobcompact_info.json
    python F:dataxindatax.py F:dataxjobcompact_file.json
    python F:dataxindatax.py F:dataxjobcompact_location.json
    python F:dataxindatax.py F:dataxjobcompact_record.json
    python F:dataxindatax.py F:dataxjobaccom_resident.json
    python F:dataxindatax.py F:dataxjobaccom_resident_log.json
    python F:dataxindatax.py F:dataxjobaccom_room.json
    python F:dataxindatax.py F:dataxjobspace_building.json
    python F:dataxindatax.py F:dataxjobspace_floor.json
    python F:dataxindatax.py F:dataxjobspace_rfid_relation.json
    python F:dataxindatax.py F:dataxjobspace_room.json
    python F:dataxindatax.py F:dataxjobspace_zone.json


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

  • 相关阅读:
    Agile PLM bom表结构学习笔记
    火狐书签同步服务无法同步问题解决
    EasyExcel使用笔记
    给EasyUI查询按钮添加回车事件.
    让bat异常之后不直接关闭窗口的办法.
    DROP TABLE、TRUNCATE TABLE和DELETE的区别
    DUMPBIN工具的使用
    Java Build Path 详解
    用eclipse中打开已存在的Java Project
    .net core、微服务 开源项目
  • 原文地址:https://www.cnblogs.com/ruize-coding/p/12220942.html
Copyright © 2020-2023  润新知