First time here? Check out the Help page!
1 | initial version |
One option is to use the parallel gen in ruby. Example:
# gem for running jobs in parallel
require 'parallel'
num_parallel = 4
Parallel.each(jobs, in_threads: num_parallel) do |job|
puts job
system(job)
end