mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
9 lines
159 B
Ruby
Executable file
9 lines
159 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
|
|
require 'sidekiq/monitor'
|
|
|
|
if ARGV[0] == 'status'
|
|
Sidekiq::Monitor::Status.new.display(ARGV[1])
|
|
else
|
|
Sidekiq::Monitor.print_usage
|
|
end
|