Created
June 15, 2012 00:52
-
-
Save sweenzor/2933958 to your computer and use it in GitHub Desktop.
Kill all celery tasks (redis)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nuke the queue | |
redis-cli FLUSHALL | |
# nuke anything currently running | |
pkill -9 celeryd | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FLUSHALL
will nuke everything in redis (globally, across all databases). It may be safer to nuke only the DB celery is running on:FLUSHDB