Ok this is clear with me, now I can do let say 2 script for a day script 1
will do squid -k rotate and script 2 will do copying of accees.log into a
different file.
Now I will do this daily but the squid rotate will be done first 30 mins
ahead then the copying of file will follow. How can I do this in a daily
cron.
Thanks,
Wennie
----- Original Message -----
From: "Kashif Ali Bukhari" <kbukhari@xxxxxxxxx>
To: "Wennie V. Lagmay" <wlagmay@xxxxxxxxxxxxx>
Sent: Wednesday, June 22, 2005 12:02 PM
Subject: Re: squid rotate command
add line in
/etc/crontab
01 * * * * root run-parts squid -k rotate
On 6/22/05, Wennie V. Lagmay <wlagmay@xxxxxxxxxxxxx> wrote:
how can I enable the squid -k rotate command daily in automatic manner,
plus
the result file sould be cumulative, let say access.log_062205,
access.log_062305 and so on.
thank you very much,
Wennie
--
Syed Kashif Ali Bukhari
Network Associate Asia Net
Cell :- +92-345-4244813 , +92-300-4295604
Ph +92-42-111-111-202 Fax +92-42-5840905
MSN:- kbukhari@xxxxxxx ; kashif.bukhari@xxxxxxxxxxx
http://asia.net.pk , http://asiatec.biz