diff --git a/utils/check_celery.sh b/utils/check_celery.sh index dce8edb45..4673e0918 100644 --- a/utils/check_celery.sh +++ b/utils/check_celery.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [[ "$(ps axu | grep 'celery' | grep -v 'grep' | grep -cv 'defunct')" == "5" ]];then +if [[ "$(ps axu | grep 'celery' | grep -v 'grep' | grep -cv 'defunct')" -gt "2" ]];then exit 0 else exit 1