#!/usr/bin/env ruby # frozen_string_literal: true unless ARGV.size == 1 puts "usage: #{File.basename(__FILE__)} " exit(1) end require 'delayed_job_worker_pool' options = DelayedJobWorkerPool::DSL.load(ARGV[0]) DelayedJobWorkerPool::WorkerPool.new(options).run