Sha256: a8baab4f02be1209642f7de5fe98c3c20b826242ddf7f11d51d8ee4279bfcc93

Contents?: true

Size: 278 Bytes

Versions: 1

Compression:

Stored size: 278 Bytes

Contents

# Run with `sidekiq -r /path/to/simple.rb`

require 'sidekiq'
require 'sidetiq'

Sidekiq.options[:poll_interval] = 1

class MyWorker
  include Sidekiq::Worker
  include Sidetiq::Schedulable

  tiq { secondly }

  def perform(*args)
    Sidekiq.logger.info "#perform"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidetiq-0.1.2 examples/simple.rb