This question has been archived.

How to write bash script for restarting tomcat 8

January 2, 2016 1.6k views
Linux Basics Ubuntu

Hello I want to creat a bash script to check my tomcat regularrly.
If it is dowe then script should restart it and send a mail to admin.
How to do this .

Be the first one to answer this question.