Skip to content

Instantly share code, notes, and snippets.

@sweenzor
Created June 15, 2012 00:52
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save sweenzor/2933958 to your computer and use it in GitHub Desktop.
Save sweenzor/2933958 to your computer and use it in GitHub Desktop.
Kill all celery tasks (redis)
# nuke the queue
redis-cli FLUSHALL
# nuke anything currently running
pkill -9 celeryd
@kunalbhagawati
Copy link

kunalbhagawati commented Jul 28, 2018

FLUSHALL will nuke everything in redis (globally, across all databases). It may be safer to nuke only the DB celery is running on: FLUSHDB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment