Java Service Wrapper pay attention to avoid memory recycling

illustrate:

The Java Service Wrapper tool can register a Java program as a background service, automatically start with the computer, and can crash and restart.

In the past, there was a function that I hoped to customize and execute a task on the background server at a certain time, and then I chose Java Service Wrapper to realize it.

 

There is a problem when running:

solution:

My solution to this problem is as follows

If it is not modified, there will be problems when the timer is executed regularly for a long time

The Java Service Wrapper is really easy to use. Useful for small service deployments.

reference:

http://sourceforge.net/projects/wrapper/files/wrapper/

http://www.cnblogs.com/top5/archive/2012/05/28/2521496.html

about:

Editor: Li Guoshuai

qq: 9611153 Wechat lgs9611153

Guess you like

Origin blog.csdn.net/lgs790709/article/details/125258032