Jump to content

Auto restart a program


Recommended Posts

Guest Owen Zhang
Posted

Is there any way to make a program auto restarted by Windows while not

make the program as a service when the program terminates? I have XP

machine.

  • Replies 3
  • Created
  • Last Reply

Popular Days

Guest Meinolf Weber
Posted

Re: Auto restart a program

 

Hello Owen,

 

Maybe you can run a script with checks if a .exe is running in task manger

to check and if not starting the .exe. But for this better post in scripting

NG and also in XP. This is a server NG. And if it is so important why not

creating a service that starts it automatically?

 

Best regards

 

Meinolf Weber

Disclaimer: This posting is provided "AS IS" with no warranties, and confers

no rights.

** Please do NOT email, only reply to Newsgroups

** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm

> Is there any way to make a program auto restarted by Windows while not

> make the program as a service when the program terminates? I have XP

> machine.

>

Guest Owen Zhang
Posted

Re: Auto restart a program

 

Did anybody have experience using windows scheduler to auto restart

the task?

Guest Pegasus \(MVP\)
Posted

Re: Auto restart a program

 

 

"Owen Zhang" <owenzhang.chicago@gmail.com> wrote in message

news:eb7eed76-99e8-4807-9b03-fa354e2903b1@s50g2000hsb.googlegroups.com...

> Did anybody have experience using windows scheduler to auto restart

> the task?

 

As Meinholf Weber wrote, you can use the Task Manager

(or TaskList.exe) to check if a task is active or not. If you

put TaskList.exe into a batch file then you can use the next

batch file command to restart the task. Server administrators

are generally familiar with the technique. If you're not then

you would get a much more detailed reply in a WinXP

newsgroup.


×
×
  • Create New...