Re: [squid-users] The command, squid -k rotate put in cron job is not working, anybody please help

From: Gerben Welter <gerben@dont-contact.us>
Date: Tue, 14 Aug 2001 13:56:10 +0200 (CEST)

>
> Usage: /usr/bin/squid {start|stop|status|restart}
>
>>From point 3, the cron tab did not execute my squid
> command due its usage.
>
> However, when I execute ./squidrotate.sh from
> /var/log/squid directory online, it works fine i.e.
> the log files are rotated. So, I am wondering what is
> wrong? Please help.

It seems that crond has a different path than you have. I suggest you edit
squidrotate.sh put the following in that file:

/usr/local/squid/bin/squid -k rotate
(or where your squid is located)

Grtz Gerben.
Received on Tue Aug 14 2001 - 05:58:39 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:37 MST