Run batch file every 5 minutes


Feb 13, 2014 · This starts the program "myprogram.exe" every 800 seconds. To be precise, ist starts the program again 800 second after the last execution ended. Of course, the sleep.exe and myptogram.exe must be within path or in the same directory with the batch file. Sleep.exe can be downloaded from internet. The above command will run every hour of every day on the hour, and at 15, 30 and 45 minutes past the hour. If you wanted to offset your 15 minute command to run on e.g. the 5th, 20th, 35th and 50th minutes of the hour you could do this instead: 5,20,35,50 * * * * /path/to/command The solution for executing a batch file or commands in a batch file may change depending on what best fits your needs. Also, the version of Windows or MS-DOS matters. First solution. In the example below, the batch file is placed into a loop and executes the "dir" command every 20 seconds. This solution would be best for users who need to ... Oct 31, 2012 · Run Firefox every 5 Min from Windows Batch File. Run Firefox every 5 Min from Windows Batch File. ... This Windows Batch Script will run firefox every 5 minutes. Mar 12, 2014 · Problem is, each of the services takes a couple minutes to start and when they all try to go at once, it makes the machine unusable for 30+ minutes after a reboot. So, I want to use a Powershell script (and/or a bat file to call the Powershell script) that will run a loop and start one up every minute or so.