title: Execute a command in cmd every X minutes. How?
body: <p>I have these two <code>.bat</code> files: </p>
  
  <p><code>startserver.bat</code>:</p>
  
  <pre><code>@Echo off
  java -Xms2048M -Xmx2048M -jar minecraft_server.14w21b.jar -d64
  </code></pre>
  
  <p><code>backup.bat</code>:</p>
  
  <pre><code>SET COUNTER=0  
  :loop  
  SET /a COUNTER=%COUNTER%+1  
  XCOPY "Lagg3dcraft\*" "c:\Users\Jon\Google Drive\MINECRAFT  
  SERVER\Lagg3dcraft(backups)\server_backup_%COUNTER%" /i /s  
  PING 1.1.1.1 -n 1 -w 900000 &gt; NUL  
  goto loop
  </code></pre>
  
  <ol>
  <li><p>I want to launch the <code>backup.bat</code> file every time I start the <code>startserver.bat</code>.</p></li>
  <li><p>I want that in the <code>startserver.bat</code> execute this command <code>/say Server Saved</code> every X minutes.</p></li>
  </ol>