Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (11 sloc) 0.294 kB
require 'iron_worker_ng'
require 'uber_config'
@config = UberConfig.load
@iw = IronWorkerNG::Client.new
# delay is the number of seconds to wait before running the task
delay = 0
ARGV.each do |a|
puts "Argument: #{a}"
delay = a.to_i
end
@iw.tasks.create("sms", @config, {:delay=>delay})
Jump to Line
Something went wrong with that request. Please try again.