Skip to content

Instantly share code, notes, and snippets.

@pierot
Created July 17, 2012 19:26
Show Gist options
  • Save pierot/3131430 to your computer and use it in GitHub Desktop.
Save pierot/3131430 to your computer and use it in GitHub Desktop.
unregister resque workers in redis
$ bundle exec irb
>> require 'resque'
>> Resque.redis = 'redis://username:password@regisip:9201/'
>> Resque::Worker.all.each {|w| w.unregister_worker}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment