Implement applications under Windows Watchdog software

Sometimes, we need to ensure that an application is running long-term stability, but on the Windows platform for various reasons, is almost impossible to guarantee absolute reliable operation of an application. So, we need to have a mechanism for self-healing in the case of abnormal application crashes ﹑ ﹑ system reboot, and can do some specific action, such as timed reboot.

Option One:
the application registered as a service, and put it in the startup items.
This method is simple, but functional too restrictive.

Option Two:
own a service manager, regularly check the operation of the service.
This approach to develop their own code, too much trouble.

Option Three:
to find a third-party tools, such as AlwaysUP, Watchdog.

Personal recommendation AlwaysUP, it has the following characteristics:
1) your application will automatically be registered as a service (including exe, bat files, etc.).
2) monitor your application is running and automatically restart when the application fails
3) there is convenient graphical user interface for managing your service
4) In the application taking up too much CPU or memory resources restart applications
5) to start automatically when you restart the system application
6) may schedule your application periodically restart
7) to improve the system of your application run priority
EMail or restart 8) application of crash notification
9) a custom application "activity detection application"
10) to automatically close the application popup illegal error window
11) Close the application automatically pop-up dialog box debugging
12) takes up very little CPU time
under 13) default without programming, but also provides an interface secondary development


---------------------
Disclaimer: This article is CSDN blogger original article "stephenxu111", following the CC 4.0 by-sa copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/stephenxu111/article/details/2507708

Guess you like

Origin www.cnblogs.com/lidabo/p/11357039.html