Sha256: 79635107936cc486f62d81bbe4ad5737277e03f4e9bdd19fd5624debd1731fd2

Contents?: true

Size: 265 Bytes

Versions: 21

Compression:

Stored size: 265 Bytes

Contents

class ScheduledWorker
  include Sidekiq::Worker
  include Sidetiq::Schedulable

  recurrence do
    daily.hour_of_day(1)
    yearly.month_of_year(2)
    monthly.day_of_month(3)

    add_exception_rule yearly.month_of_year(:february)
  end

  def perform
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
sidetiq-0.7.2 test/fixtures/scheduled_worker.rb
sidetiq-0.7.1 test/fixtures/scheduled_worker.rb
sidetiq-0.7.0 test/fixtures/scheduled_worker.rb
sidetiq-0.6.3 test/fixtures/scheduled_worker.rb
sidetiq-0.6.2 test/fixtures/scheduled_worker.rb
sidetiq-0.6.1 test/fixtures/scheduled_worker.rb
sidetiq-0.6.0 test/fixtures/scheduled_worker.rb
sidetiq-0.5.0 test/fixtures/scheduled_worker.rb
sidetiq-0.4.3 test/fixtures/scheduled_worker.rb
sidetiq-0.4.2 test/fixtures/scheduled_worker.rb
sidetiq-0.4.1 test/fixtures/scheduled_worker.rb
sidetiq-0.4.0 test/fixtures/scheduled_worker.rb
sidetiq-0.4.0.rc4 test/fixtures/scheduled_worker.rb
sidetiq-0.4.0.rc3 test/fixtures/scheduled_worker.rb
sidetiq-0.4.0.rc2 test/fixtures/scheduled_worker.rb
sidetiq-0.4.0.rc1 test/fixtures/scheduled_worker.rb
sidetiq-0.3.7 test/fixtures/scheduled_worker.rb
sidetiq-0.3.6 test/fixtures/scheduled_worker.rb
sidetiq-0.3.5 test/fixtures/scheduled_worker.rb
sidetiq-0.3.4 test/fixtures/scheduled_worker.rb