title: Batch command for stopping execution at specific time
body: <p>I am using batch file to trigger test methods execution, I have created a loop in batch file for continuous execution of test methods. I want to stop this continuous execution at specific time everyday (like 5AM in the morning), Please do suggest the command to stop/quit the batch file execution.</p>
  <p>Please view my batch file details below, my batch file fails to quit @5AM, Please guide to correct my batch file condition</p>
  <pre class="lang-sh prettyprint-override"><code>:START
      ECHO set timehour=%time:~0,2%
  if %timehour% gtr 5 (echo Execution completed quit)
      
      @REM command to execute my test methods
      
      timeout 900
      
      GOTO START
  </code></pre>