title: schtasks /create (Have a task that runs every day and repeats every hour
body: <p>Sorry if this or similar has been asked, and I hope I'm missing something stupid and this is easy, but.  How do I make a task using the <code>schtasks /create</code> command that will start say every day at 7 and repeat every hour either indefinitely or for the duration of a day?</p>
  
  <p>If I do</p>
  
  <pre><code>schtasks /create /tn "test" /tr "\"C:\Program Files\test.exe"" /sc HOURLY /mo 1
  </code></pre>
  
  <p>it will only trigger if the specified date and time are hit.  </p>
  
  <p>If I do</p>
  
  <pre><code>schtasks /create /tn "test" /tr "\"C:\Program Files\test.exe"" /sc DAILY /mo 1
  </code></pre>
  
  <p>it will only trigger once a day.</p>
  
  <p>Thanks in advance!</p>