Tech Support > Microsoft Windows > ¿ XP process to watch for dead process and restart it ?
¿ XP process to watch for dead process and restart it ?
Posted by John Bartley on December 15th, 2005


Have a dedicated server running several special XP processes, required
for a primary business need. The VAR who wrote the code is bankrupt,
its talent scatted to the four winds, and a reqrite is not practical

Every so often, an important process which munges up data until it's
ready for other processes to use dies; stops, and disappears. Is there
a utility, somewhere, which watches for a process on an XP box, and
when it disappears, could relaunch it?

Thank you kindly.

Posted by S. Taylor on December 16th, 2005


You could try learning the AutoIt3 scripting engine and write a script that
can do that.
www.autoit3.com

"John Bartley" <john.bartley@gmail.com> wrote in message
news:1134689038.629554.216010@g14g2000cwa.googlegr oups.com...
> Have a dedicated server running several special XP processes, required
> for a primary business need. The VAR who wrote the code is bankrupt,
> its talent scatted to the four winds, and a reqrite is not practical
>
> Every so often, an important process which munges up data until it's
> ready for other processes to use dies; stops, and disappears. Is there
> a utility, somewhere, which watches for a process on an XP box, and
> when it disappears, could relaunch it?
>
> Thank you kindly.
>



Posted by Bill James on December 16th, 2005


If you have some minimal programming skills you should be able to combine several of the WMI scripts show on the following page to do what you want. Basically you want a script that loops every 15 seconds or so and checks on the current status of a specific named service, and restart it if stopped.

http://www.microsoft.com/technet/scr.../default..mspx

--

Bill James
Microsoft MVP - Shell/User

Windows VBScript Utilities » www.billsway.com/vbspage/
Windows Tweaks & Tips » www.billsway.com/notes_public/

"John Bartley" <john.bartley@gmail.com> wrote in message news:1134689038.629554.216010@g14g2000cwa.googlegr oups.com...
> Have a dedicated server running several special XP processes, required
> for a primary business need. The VAR who wrote the code is bankrupt,
> its talent scatted to the four winds, and a reqrite is not practical
>
> Every so often, an important process which munges up data until it's
> ready for other processes to use dies; stops, and disappears. Is there
> a utility, somewhere, which watches for a process on an XP box, and
> when it disappears, could relaunch it?
>
> Thank you kindly.
>


Similar Posts