simulation-nohup.sh 209 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 simulation-pjisuv.py > log/simulation.out 2>&1 &