taskkill /IM "excel.exe"
"C:\Program Files (x86)\Microsoft Office\Office12\excel.exe"
switch your application name in place of excel
kill_and_restart.batCode:taskkill /IM "excel.exe" "C:\Program Files (x86)\Microsoft Office\Office12\excel.exe"
Can get much more complex if you want... but if you just want crazy simple, set that bat file to run on your time interval via scheduled tasks.
task sheduler will try to start the app which is in running state we need to make it restart so it wont work i guess please correct me if i am wrong