docs: def delete_job(self, name, persist=True):
          '''
          Deletes a job from the scheduler. Ignore jobs from pillar
          '''
          # ensure job exists, then delete it
          if name in self.opts['schedule']:
              del self.opts['schedule'][name]
          elif name in self._get_schedule(include_opts=False):
              log.warning("Cannot delete job %s, it's in the pillar!", name)
  
          # 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._get_schedule()},
                         tag='/salt/minion/minion_schedule_delete_complete')
  
          # remove from self.intervals
          if name in self.intervals:
              del self.intervals[name]
  
          if persist:
              self.persist()