Dr.Ruud wrote:
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. th
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
John W. Krahn wrote:
Aruna Goke wrote:
I put up a small script to delete old logs and at the same time rotating
the logs. on my squid log directory ( I can use logrorate and unlink the
logs, but I choose to test my ability to do that)
however, with my code below, I can see delete the old logs,
Aruna Goke wrote:
>
> I put up a small script to delete old logs and at the same time rotating
> the logs. on my squid log directory ( I can use logrorate and unlink the
> logs, but I choose to test my ability to do that)
>
> however, with my code below, I can see delete the old logs, however, th
I put up a small script to delete old logs and at the same time rotating
the logs. on my squid log directory ( I can use logrorate and unlink the
logs, but I choose to test my ability to do that)
however, with my code below, I can see delete the old logs, however, the
output of the log the s