docs: def move(name, target, **kwargs):
      '''
      Move scheduled job to another minion or minions.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' schedule.move jobname target
      '''
  
      ret = {'comment': [],
             'result': True}
  
      if not name:
          ret['comment'] = 'Job name is required.'
          ret['result'] = False
  
      if 'test' in kwargs and kwargs['test']:
          ret['comment'] = 'Job: {0} would be moved from schedule.'.format(name)
      else:
          opts_schedule = list_(show_all=True, where='opts', return_yaml=False)
          pillar_schedule = list_(show_all=True, where='pillar', return_yaml=False)
  
          if name in opts_schedule:
              schedule_data = opts_schedule[name]
              where = None
          elif name in pillar_schedule:
              schedule_data = pillar_schedule[name]
              where = 'pillar'
          else:
              ret['comment'] = 'Job {0} does not exist.'.format(name)
              ret['result'] = False
              return ret
  
          schedule_opts = []
          for key, value in six.iteritems(schedule_data):
              temp = '{0}={1}'.format(key, value)
              schedule_opts.append(temp)
          response = __salt__['publish.publish'](target, 'schedule.add', schedule_opts)
  
          # Get errors and list of affeced minions
          errors = []
          minions = []
          for minion in response:
              minions.append(minion)
              if not response[minion]:
                  errors.append(minion)
  
          # parse response
          if not response:
              ret['comment'] = 'no servers answered the published schedule.add command'
              return ret
          elif errors:
              ret['comment'] = 'the following minions return False'
              ret['minions'] = errors
              return ret
          else:
              delete(name, where=where)
              ret['result'] = True
              ret['comment'] = 'Moved Job {0} from schedule.'.format(name)
              ret['minions'] = minions
              return ret
      return ret