Sha256: fbd1b0c9a4bf4d81386ac08b604a0a3c9c8b9568cc0e322be14a3389521576c8
Contents?: true
Size: 351 Bytes
Versions: 5
Compression:
Stored size: 351 Bytes
Contents
# Run with `sidekiq -r /path/to/simple.rb` require 'sidekiq' require 'sidetiq' Sidekiq.options[:poll_interval] = 1 Sidekiq.configure_server do |config| Sidetiq::Clock.start! end class MyWorker include Sidekiq::Worker include Sidetiq::Schedulable recurrence { secondly } def perform(*args) Sidekiq.logger.info "#perform" end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
sidetiq-0.3.7 | examples/simple.rb |
sidetiq-0.3.6 | examples/simple.rb |
sidetiq-0.3.5 | examples/simple.rb |
sidetiq-0.3.4 | examples/simple.rb |
sidetiq-0.3.3 | examples/simple.rb |