Restart Apache

2002-11-26 Thread Jeremy Schwartz
I am trying to rotate my Apache logs using Cron and the following shell script: # /bin/sh mv /var/log/httpd/access_log /users/admin/logs/ apachectl restart This script is set to 755 and is being executed by the root crontab. The first line is executing correctly, the log file is moving out of /v

Re: Restart Apache

2002-11-26 Thread gene
On Tuesday, November 26, 2002, at 11:55 AM, Jeremy Schwartz wrote: I am trying to rotate my Apache logs using Cron and the following shell script: # /bin/sh mv /var/log/httpd/access_log /users/admin/logs/ apachectl restart This script is set to 755 and is being executed by the root crontab.

Re: Restart Apache

2002-11-26 Thread Chris Devers
On Tue, 26 Nov 2002, Jeremy Schwartz wrote: > I am trying to rotate my Apache logs using Cron and the following shell > script: > > # /bin/sh > > mv /var/log/httpd/access_log /users/admin/logs/ > apachectl restart As noted, full paths might be a good idea. That or, this being a Perl list [well, t

Re: Restart Apache

2002-11-26 Thread Dwalu Z. Khasu
On Tue, 26 Nov 2002, Jeremy Schwartz wrote: =>I am trying to rotate my Apache logs using Cron and the following shell =>script: => =># /bin/sh => =>mv /var/log/httpd/access_log /users/admin/logs/ =>apachectl restart => =>This script is set to 755 and is being executed by the root crontab. The =>fi

[Solved] Re: Restart Apache

2002-11-26 Thread Jeremy Schwartz
TECTED]>, <[EMAIL PROTECTED]> > Subject: Re: Restart Apache > > > On Tuesday, November 26, 2002, at 11:55 AM, Jeremy Schwartz wrote: > >> I am trying to rotate my Apache logs using Cron and the following shell >> script: >> >> # /bin/sh >> &g