Rearranging pkill on celery.

This commit is contained in:
Samuel Clay 2018-04-18 10:47:53 -07:00
parent 544f8c0423
commit d2cc074d98

View file

@ -1,7 +1,5 @@
#!/bin/sh
pkill -9 -f celery
# for i in `ps -o pid,command ax | grep celery | awk '!/awk/ && !/grep/ {print $1}'`
# do
# if [ "${i}" != "" ]; then
@ -10,4 +8,6 @@ pkill -9 -f celery
# fi
# done
# ps aux | grep celery | egrep -v grep | awk '{print $2}' | xargs kill -9
# ps aux | grep celery | egrep -v grep | awk '{print $2}' | xargs kill -9
pkill -9 -f celery