Sha256: 34e4cfc5b78fd885aee434eabe2b1c793aef439fdeb95508ff7063cb3c7fd77d

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

#! /usr/bin/env ruby
# coding: utf-8

#
#
#
class Comana::QueueManager
  #
  def initialize()
  end

  #
  def queues
    `qconf -sql`.split("\n")
  end

  # return a queue name with less tasks.
  def light_queue
    queues.each do |queue|
      hostlist(queue)
    end

  end

  def qhost
    
  end

  private



end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
comana-0.1.0 lib/comana/queuemanager.rb