I have a Django project on an Ubuntu EC2 node, which I have been using to set up an asynchronous using Celery.
Celery
I am following this along with the docs.
ps auxww | grep 'celery worker' | grep -v " grep " | awk '{print $2}' | xargs kill -9
this one is very similar to one presented before but improved because avoid the error that shows when attempt to kill the grep process..