code: func (e *engineImpl) disableJob(c context.Context, jobID string) error {
  	return e.jobTxn(c, jobID, func(c context.Context, job *Job, isNew bool) error {
  		if isNew || !job.Enabled {
  			return errSkipPut
  		}
  		job.Enabled = false
  
  		// Stop the cron machine ticks.
  		err := pokeCron(c, job, e.cfg.Dispatcher, func(m *cron.Machine) error {
  			m.Disable()
  			return nil
  		})
  		if err != nil {
  			return err
  		}
  
  		// Kick the triage to clear the pending triggers. We can pop them only
  		// from within the triage procedure.
  		return e.kickTriageLater(c, job.JobID, 0)
  	})
  }
docs: // disableJob moves a job to the disabled state.