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
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
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
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.
Jeremy Schwartz wrote
> but apache is not restarting.
What does your apache error log file say?
Neil
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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