tomcat - How to write shell script to restart tomcat7 automatically using cron? -
i new shell script,in company need restart application servers in production @ or before 12.30 pm everyday.can automate process shell script affect other application running on server.
thanks in advance
at last found answer restart tomcat automatically writing simple script , setting-up script on cron whatever time sequence need restart application server.
script
#! /bin/sh service=/etc/init.d/tomcat7
$service restart cron job
30 12 * * * /root/restarttomacat.sh
it wont affect other applications.
Comments
Post a Comment