lib/sidekiq/scheduler.rb
# Set to enable or disable the scheduler.
Set to enable or disable the scheduler.
Set to enable or disable the scheduler .
def new_job(name, interval_type, config, schedule, options)
        options = options.merge({ :job => true, :tags => [name] })
        rufus_scheduler.send(interval_type, schedule, options) do |job, time|
          idempotent_job_enqueue(name, time, sanitize_job_config(config)) if job_enabled?(name)
        end
      end
def new_job ( name , interval_type , config , schedule , options ) options = options . merge ( { :job => true , :tags => [ name ] } ) rufus_scheduler . send ( interval_type , schedule , options ) do | job , time | idempotent_job_enqueue ( name , time , sanitize_job_config ( config ) ) if job_enabled? ( name ) end end
Set to enable or disable the scheduler.
Set to enable or disable the scheduler .
name
interval_type
config
schedule
options