def set_schedule(name, config)
      existing_config = get_schedule(name)
      unless existing_config && existing_config == config
        SidekiqScheduler::RedisManager.set_job_schedule(name, config)
        SidekiqScheduler::RedisManager.add_schedule_change(name)
      end
      config
    end
def set_schedule(name, config)
      existing_config = get_schedule(name)
      unless existing_config && existing_config == config
        SidekiqScheduler::RedisManager.set_job_schedule(name, config)
        SidekiqScheduler::RedisManager.add_schedule_change(name)
      end
      config
    end
Create or update a schedule with the provided name and configuration.

 Note: values for class and custom_job_class need to be strings,
 not constants.

    Sidekiq.set_schedule('some_job', { :class => 'SomeJob',
                                       :every => '15mins',
                                       :queue => 'high',
                                       :args => '/tmp/poop' })