2camera-nohup.sh 212 B

12345678
  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. nohup python2 2camera-pjibot_delivery.py > log/2camera.out 2>&1 &