FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 12-06-2010, 07:32 AM
shali Kallumpuram
 
Default how to cron a service restart

Dear all,
i need to restart tomcat6 regularly is there any method?? is it possible to cron a service restart?
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-06-2010, 09:48 AM
Jonathan Matthews
 
Default 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
 

Thread Tools




All times are GMT. The time now is 10:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org