Application restart every 5 minutes

Hey I'm running windows server 2008 R2 and I have a .net program a server that I need to close and open every 5 minutes because of a bug that i am unable to fix because my Dev's are away at the moment so I need to somehow make the application restart it self every 5 minutes close and than open. like something that ends it than opens it.

I tryed to use microsoft's Task Scheduler but my Exe file has alot of .ini files and when it opens with task scheduler for some reason it can't find any of its ini files anymore like its running from another location or something.
yahshuahAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Aamir SarfarazConnect With a Mentor IT ManagerCommented:
try to make this batch file and add it into your schedule

TASKKILL /F /IM YourApplication.exe
CD\YourApplicationFolder
YourApplication.exe

hope this will help
0
 
mattibuttCommented:
Create schedule to launch and kill
0
 
yahshuahAuthor Commented:
it works
0
All Courses

From novice to tech pro — start learning today.