Sha256: b317a2195b807a9489396268d1209b175f8004e2a9407c162b076eb6737c8c94

Contents?: true

Size: 286 Bytes

Versions: 1

Compression:

Stored size: 286 Bytes

Contents

module BloomRemit
  class SyncBillersJob

    include Sidekiq::Worker
    sidekiq_options retry: false

    def perform
      Billers::Sync.()
    end

  end
end

if Sidekiq.server?
  Sidekiq::Cron::Job.create(
    class: BloomRemit::SyncBillersJob.name,
    cron: '0 * * * *',
  )
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bloom_remit-0.0.1 app/jobs/bloom_remit/sync_billers_job.rb