sim_sent.sh 142 B

12345678910111213
  1. #!/bin/sh
  2. set -e
  3. export SIM=$(pgrep -f "php sim_sent")
  4. echo "find pid $SIM"
  5. renice +19 $SIM
  6. ionice -c 2 -n 7 -p $SIM
  7. echo "done."
  8. exit 0