title: batch script, put to sleep until certain time
body: <p>I have an issue with my program that occurs once or twice every 6 hours. So I was wondering if there is any way I can get the batch script to constantly run in the background, and only execute the command it is given at 6 in the morning, at noon, at 6 in the afternoon and at midnight.</p>
  
  <p>my script is just one command which is</p>
  
  <pre><code>"C:\Program Files\WinSCP\WinSCP.com" /command "open %INPUT%" "get /etc/logs/*" "get /etc/network/interfaces" "bye"
  </code></pre>
  
  <p>I have been breaking my neck and can't seem to figure out a way to get the program to sleep and not use up cpu until a certain time of day.</p>