lib/sidekiq/scheduler.rb
def toggle_job_enabled(name)
        state = schedule_state(name)
        state['enabled'] = !job_enabled?(name)
        set_schedule_state(name, state)
      end
# Set to enable or disable the scheduler.
Set to enable or disable the scheduler.
Set to enable or disable the scheduler .
def toggle_job_enabled(name)
        state = schedule_state(name)
        state['enabled'] = !job_enabled?(name)
        set_schedule_state(name, state)
      end
def toggle_job_enabled ( name ) state = schedule_state ( name ) state [ 'enabled' ] = ! job_enabled? ( name ) set_schedule_state ( name , state ) end
Set to enable or disable the scheduler.
Set to enable or disable the scheduler .
name