You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

enqueue 258B

123456789
  1. #!/usr/bin/env ruby
  2. require 'sidekiq'
  3. options = {
  4. url: ENV['REDIS_URL'],
  5. namespace: :cryptcheck
  6. }
  7. client = Sidekiq::Client.new Sidekiq::RedisConnection.create options
  8. clazz, *args = ARGV
  9. client.push({ 'class' => clazz, 'args' => args })