2xosc-nohup.sh 238 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/2xosc*
  9. nohup python2 2xosc-pjibot_patrol.py > log/2xosc-pjibot_patrol.out 2>&1 &