def disable_schedule(self):
        self.opts['schedule']['enabled'] = False

        # Fire the complete event back along with updated list of schedule
        evt = salt.utils.event.get_event('minion', opts=self.opts, listen=False)
        evt.fire_event({'complete': True, 'schedule': self.opts['schedule']},
                       tag='/salt/minion/minion_schedule_disabled_complete')
Disable the scheduler.
dataset/ETHPy150Open saltstack/salt/salt/utils/schedule.py/Schedule.disable_schedule