title: schtasks /change
body: <p>I wan't to change the repeat time from one task from 5 minutes to 1 minute.  The task is there:</p>
  
  <p>Folder: \</p>
  
  <p>HostName:                             ZSERVER</p>
  
  <p>TaskName:                             \Check_IIS_Server</p>
  
  <p>Next Run Time:                        04.10.2012 16:30:45</p>
  
  <p>Status:                               Ready</p>
  
  <p>Logon Mode:                           Interactive/Background</p>
  
  <p>Last Run Time:                        04.10.2012 16:25:45</p>
  
  <p>Last Result:                          0</p>
  
  <p>Author:                               WACKER\createuser</p>
  
  <p>Task To Run:                          powershell.exe powershell.exe -Noninteract
  ive -Command "&amp;{C:\Logfiles_Poly\Check_IIS_Server.ps1}"</p>
  
  <p>Start In:                             N/A</p>
  
  <p>Comment:                              N/A</p>
  
  <p>Scheduled Task State:                 Enabled</p>
  
  <p>Idle Time:                            Disabled</p>
  
  <p>Power Management:                     Stop On Battery Mode, No Start On Batteries</p>
  
  <p>Run As User:                          WACKER\Adminuser</p>
  
  <p>Delete Task If Not Rescheduled:       Enabled</p>
  
  <p>Stop Task If Runs X Hours and X Mins: 01:00:00</p>
  
  <p>Schedule:                             Scheduling data is not available in this format.</p>
  
  <p>Schedule Type:                        Daily</p>
  
  <p>Start Time:                           N/A</p>
  
  <p>Start Date:                           N/A</p>
  
  <p>End Date:                             N/A</p>
  
  <p>Days:                                 Every 1 day(s)</p>
  
  <p>Months:                               N/A</p>
  
  <p>Repeat: Every:                        0 Hour(s), 5 Minute(s)</p>
  
  <p>Repeat: Until: Time:                  None</p>
  
  <p>Repeat: Until: Duration:              24 Hour(s), 0 Minute(s)</p>
  
  <p>Repeat: Stop If Still Running:        Disabled</p>
  
  <p>Now my change command is, i wan't to edit the repeat time to one minute:</p>
  
  <p>C:\Users\username>schtasks /change /tn "Check_IIS_Server_Poly" /ri 1
  ERROR: The parameter is incorrect. </p>
  
  <p>Why did I can't edit this job over command?</p>
  
  <p>Thanks,
  Horst</p>