This is a discussion on will lthis cron restart apache every 3 hours? within the Apache Web Server forums, part of the Web Server and Related Forums category; 0 */3 * * * apachectl restart...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
"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) |
|
|||
|
"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! |
| Thread Tools | |
| Display Modes | |
|
|