Skip to content

Instantly share code, notes, and snippets.

@StephenOTT
Created May 8, 2014 05:33
Show Gist options
  • Save StephenOTT/cdf8246964ceb18fbd76 to your computer and use it in GitHub Desktop.
Save StephenOTT/cdf8246964ceb18fbd76 to your computer and use it in GitHub Desktop.
Ruby Redis example of using ZSCAN and ZSCAN Match to get a specific DateTime for a Job ID in a QLess scheduled job
require "redis"
redis = Redis.new
puts redis.zscan("ql:q:testing-scheduled", 5, {match: "7f81bbe64bcd4599b565c95c817cf363"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment