SriniK has asked for the wisdom of the Perl Monks concerning the following question:
Output$tomcat_status=`sudo /****/***/bin/catalina.sh start`; print "$date: $tomcat_status\n";
Everything working fine while running via putty. But when via cron it not tomcat not restarted and there is no output as well.Wed Oct 30 05:35:14 EDT 2013: Using CATALINA_BASE: /****/**** Using CATALINA_HOME: /****/**** Using CATALINA_TMPDIR: /****/****/temp Using JRE_HOME: /usr Using CLASSPATH: /****/****/bin/bootstrap.jar:/****/****/bin/tom +cat-juli.jar
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Need help on tomcat restart via cronjob
by derby (Abbot) on Oct 30, 2013 at 10:27 UTC | |
by SriniK (Beadle) on Oct 30, 2013 at 10:46 UTC | |
by Anonymous Monk on Oct 30, 2013 at 11:42 UTC | |
|
Re: Need help on tomcat restart via cronjob
by McA (Priest) on Oct 30, 2013 at 10:21 UTC |