Aruna Goke schreef:

> actually the script is placed in the /var/log/squid directory and the
> unlink is actually deleting the old logs.
>
> however,  the output of the system('squid' '-k', 'rotate') is
> access.log.0, store.log.0 and these were not included when the unlink
> is executed. therefore running the script twice will do the deletion
> but i guess running it once suppose to do the job.

You are not acknowledging that you fixed all the bad errors in the
script that John pointed out to you.

Also, at the start put ""/var/log/squid" in a variable like $dir, and
sprinkle it thoughtfully.

-- 
Affijn, Ruud

"Gewoon is een tijger."


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to