Linux systems scheduled restart Tomcat service

Since there are many such articles on the web, I recommend good articles published, in accordance with article configuration to achieve a scheduled task to restart the tomcat service.

Article reference address: https://www.luoxudong.com/?p=330

 

PS: As crontab without success, to detect crontab service is started,

 Detecting whether to activate the timer task: /etc/init.d/crond status

Restart timing tasks: /etc/init.d/crond restart

Published 118 original articles · won praise 59 · views 490 000 +

Guess you like

Origin blog.csdn.net/u012255097/article/details/85577907