lib/sidekiq/scheduler.rb
def clear_schedule!
        rufus_scheduler.stop
        @rufus_scheduler = nil
        @@scheduled_jobs = {}
        rufus_scheduler
      end
# Stops old rufus scheduler and creates a new one.  Returns the new
# rufus scheduler
Stops old rufus scheduler and creates a new one.  Returns the new
rufus scheduler
Stops old rufus scheduler and creates a new one . Returns the new rufus scheduler
def clear_schedule!
        rufus_scheduler.stop
        @rufus_scheduler = nil
        @@scheduled_jobs = {}
        rufus_scheduler
      end
def clear_schedule! rufus_scheduler . stop @rufus_scheduler = nil @@scheduled_jobs = { } rufus_scheduler end
Stops old rufus scheduler and creates a new one.
Stops old rufus scheduler and creates a new one .