From d2cc074d98aa997b1a6ee80f12b8d292ec6bb595 Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Wed, 18 Apr 2018 10:47:53 -0700 Subject: [PATCH] Rearranging pkill on celery. --- utils/kill_celery.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/kill_celery.sh b/utils/kill_celery.sh index 9bd2fa20d..c8d09332f 100755 --- a/utils/kill_celery.sh +++ b/utils/kill_celery.sh @@ -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 \ No newline at end of file +# ps aux | grep celery | egrep -v grep | awk '{print $2}' | xargs kill -9 + +pkill -9 -f celery