Yes and it depends on your crontab version. In my version, the system-wide crontab seems like this : 00 22 * * * /PATH/TO/JAKARTA/bin/shutdown.sh and the user-wide crontab seems like this : 00 22 * * * /PATH/TO/JAKARTA/bin/shutdown.sh ... but are not executed by the same user.
On Thu, 17 Mar 2005 10:27:58 -0600 "Robert r. Sanders" <[EMAIL PROTECTED]> wrote: > Are your JAVA_HOME and other vars defined in a global context? Other > than that I don't really know. > > C�dric Buschini wrote: > > > Hi > > > > I'd like to stop and start my tomcat using cron so I added this in the > > root's crontab and /etc/crontab : > > > > 00 22 * * * root /PATH/TO/JAKARTA/bin/shutdown.sh > > 02 22 * * * root /PATH/TO/JAKARTA/bin/startup.sh > > > > but it does work :s > > > > Any got ideas ??? > > > > Thk > > > > Cedric > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > Robert r. Sanders > Chief Technologist > iPOV > (334) 821-5412 > www.ipov.net > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
