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
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.
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
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
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