2csv-nohup.sh 239 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/2csv*
  9. nohup python2 2csv-pjibot_delivery.py > log/2csv-pjibot_delivery.out 2>&1 &