pcd-nohup.sh 236 B

123456789
  1. #!/bin/bash
  2. if [ ! -d "./log" ]; then
  3. mkdir "./log"
  4. echo "Directory './log' created."
  5. else
  6. echo "Directory './log' already exists."
  7. fi
  8. rm -rf log/pcd*
  9. nohup python2 pcd-pjibot_delivery.py > log/pcd-pjibot_delivery.out 2>&1 &