Created
June 10, 2014 04:56
-
-
Save hSATAC/5d2bca2bbc665922c1c9 to your computer and use it in GitHub Desktop.
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
ruby -rsidekiq/api -e 'loop do;count = Sidekiq::Stats.new.enqueued;puts "Remaining jobs: #{count}";exit if count == 0;sleep 5;end' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment