Q:

Auto-restart a Program every hours with cooldown

I'm looking for a script who can realize this sequence.

Close the Program every three hours;
Wait 30 seconds;
Relaunch the Program;

Can you help me manage this problem ? 
Thanks a lot !
Regards,

A:

There is a post here Batch file - restart program after every 20 minutes
@echo off
:loop
start yourtarget.exe ...
timeout /t 1200 >null
taskkill /f /im yourtarget.exe >nul
goto loop

