Skip to content

Instantly share code, notes, and snippets.

@shio-phys
Created October 19, 2015 07:24
Show Gist options
  • Save shio-phys/fcef1d4c3fee75c34b27 to your computer and use it in GitHub Desktop.
Save shio-phys/fcef1d4c3fee75c34b27 to your computer and use it in GitHub Desktop.
domain_ids = [1, 2, 3]
option = domain_ids.map{|domain_id| "-q hoge-#{domain_id},1"}.join(' ')
cli = Sidekiq::CLI.instance
cli.parse(option.split(' '))
cli.run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment