Hi all,
There are some applications on my server which must be running 24 hours a day.
I've been getting some problems with them. Sometimes they stop responding and I have to end the process through the "Windows NT Task Manager" and then start them again.
However, when it happens during the night or on Sundays, for instance, they keep stopped too much time till somebody comes and start them.
That's why I'm trying to develop an application which read the processes that are running and, in case they stop responding, they are stopped and started again automatically.
I've never developed any application using windows API. Any suggestion about how to read the processes running and "restart" them would be apreciated.
Thanks in advance,
Daniela.
There are some applications on my server which must be running 24 hours a day.
I've been getting some problems with them. Sometimes they stop responding and I have to end the process through the "Windows NT Task Manager" and then start them again.
However, when it happens during the night or on Sundays, for instance, they keep stopped too much time till somebody comes and start them.
That's why I'm trying to develop an application which read the processes that are running and, in case they stop responding, they are stopped and started again automatically.
I've never developed any application using windows API. Any suggestion about how to read the processes running and "restart" them would be apreciated.
Thanks in advance,
Daniela.