Created
June 29, 2021 19:13
-
-
Save mfurquimdev/b21fe8382fa080cbd850c5eed19a1967 to your computer and use it in GitHub Desktop.
Get all Celery tasks on redis
This file contains hidden or 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
| #!/bin/bash | |
| for task in $(printf "select 7\r\nkeys *\r\nquit\r\n" | nc localhost 6379 | grep celery); do printf "select 7\r\nget $task\r\nquit\r\n" | nc localhost 6379; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment