?
Solved

Application restart every 5 minutes

Posted on 2010-08-20
3
Medium Priority
?
426 Views
Last Modified: 2012-06-21
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.
0
Comment
Question by:yahshuah
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Accepted Solution

by:
aamsoh earned 1500 total points
ID: 33490484
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
 
LVL 11

Expert Comment

by:mattibutt
ID: 33514175
Create schedule to launch and kill
0
 

Author Closing Comment

by:yahshuah
ID: 33657464
it works
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question