how to cron a service restart
On 6 December 2010 08:32, shali Kallumpuram <vidyaserveradmin@gmail.com> wrote:
> Dear all,
> i need to restart tomcat6 regularly is there any method?? is it possible to
> cron a service restart?
Yes, it is. Using crontab (man 1 crontab), set up a crontab (man 5
crontab) that cron (man 8 cron) will interpret and restart the service
(man 8 service). Examples of syntax for these can be found in the
relevant man pages I've pointed you towards.
Jonathan
--
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
|