View Single Post

  #3 (permalink)  
Old 05-06-2008
TriAdmin
 
Posts: n/a
Default Re: will lthis cron restart apache every 3 hours?

"phantom" <nobody@blueyonder.invalid> wrote in message
news:ua%Tj.20579$yD2.18935@text.news.virginmedia.c om...
> "TriAdmin" <lof@invalid.com> wrote in message
> news:6DYTj.71488$vr3.29007@bignews2.bellsouth.net. ..
>>0 */3 * * * apachectl restart

>
> as long as apachectl is in cron's path.
> You might want to use the full path and do a graceful restart:
> /usr/sbin/apachectl graceful
>
> (although /usr/sbin may not be where your apachectl is)




thanks!