Sha256: 8f000b94db180b2fae3c8af1d00d6203743696a56f2e970d445458201defd1e4
Contents?: true
Size: 334 Bytes
Versions: 8
Compression:
Stored size: 334 Bytes
Contents
# # Usage: # drbqs-server server_def.rb # DRbQS.define_server(:finish_exit => true) do |server, argv, opts| tgen = DRbQS::TaskGenerator.new(:sleep_time => 2) tgen.set do 3.times do |i| add_task(DRbQS::CommandTask.new(["sleep #{@sleep_time}", 'echo hello world'])) end end server.add_task_generator(tgen) end
Version data entries
8 entries across 8 versions & 1 rubygems