Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (11 sloc) 0.242 kb
#publishes any argument passed on the system queue
require 'rubygems'
require 'mq'
command = $*
AMQP.start do
p "publishing #{command}"
MQ.fanout('system').publish(command, :priority => 9)
EM.add_timer(1) do
EM.stop
end
end
Jump to Line
Something went wrong with that request. Please try again.