pjibot_delivery-xosc-nohup.sh 658 B

12345678910
  1. #!/bin/bash
  2. # 定义共同前缀变量
  3. BASE_DIR="/mnt/disk001/dcl_data_process"
  4. rm -rf "${BASE_DIR}/log/2xosc*"
  5. rm -rf "${BASE_DIR}/log/pjibot_delivery-2xosc*"
  6. pyinstaller --onefile --distpath "${BASE_DIR}/build/pjibot_delivery-2xosc/" "${BASE_DIR}/src/python2/pjibot_delivery/pjibot_delivery-2xosc.py"
  7. #nohup python2 "${BASE_DIR}/src/python2/pjibot_delivery/pjibot_delivery-2xosc.py" "${BASE_DIR}/config/pjibot_delivery-2xosc.yaml" > "${BASE_DIR}/log/pjibot_delivery-2xosc.out" 2>&1 &
  8. nohup "${BASE_DIR}/build/pjibot_delivery-2xosc/pjibot_delivery-2xosc" "${BASE_DIR}/config/pjibot_delivery-2xosc.yaml" > "${BASE_DIR}/log/pjibot_delivery-2xosc.out" 2>&1 &