title: batch script that kills java processes
body: <p>So my batch script kills a random java process every 10 seconds.
  My goal is to make it every random amount seconds between 5 and 25.
  Any idea how I would do that?</p>
  
  <pre><code>@echo off
  for /f "tokens=2 delims=," %%T in ('tasklist /nh /fi "imagename eq java.exe" /fo csv') do (
      taskkill /F /pid %%~T 
      timeout /t 10
    goto :start
  )
  </code></pre>