Skip to content

Instantly share code, notes, and snippets.

@50kudos
Last active December 21, 2015 09:19
Show Gist options
  • Save 50kudos/6284422 to your computer and use it in GitHub Desktop.
Save 50kudos/6284422 to your computer and use it in GitHub Desktop.
redis-cli

http://redis.io/commands/lrange

Key: 'resque:queue:immediate' (list by KEYS *)

redis-cli LRANGE 'resque:queue:immediate' 0 -1 | grep 'InferFeedUrl' | wc -l

(grep ruby job's class defined at hash key.)

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