░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░ wrote:
still same :((
--------------
Squid User Access Reports
        
FILE/PERIOD     CREATION DATE   USERS   BYTES   AVERAGE
22Jan2009-22Jan2009     Thu Jan 22 07:32:48 EST 2009    5       2.71M   543.46K
21Jan2009-22Jan2009     Thu Jan 22 07:01:10 EST 2009    96      1.71G   17.83M
21Jan2009-21Jan2009     Wed Jan 21 23:01:11 EST 2009    96      1.71G   17.83M
20Jan2009-21Jan2009     Wed Jan 21 06:30:15 EST 2009    95      3.06G   32.30M
---------------
my crontab are :
r...@castor:/home/mirza# crontab -l
0 0 * * * /usr/local/squid/sbin/squid -k rotate
1 * * * *  /usr/bin/sarg -f /etc/squid/sarg.conf

Try using a crontab entry of...

1 * * * * /usr/bin/sarg -d $(date +%d/%m/%Y)-$(date +%d/%m/%Y) -f /etc/squid/sarg.conf

...to limit each report to a single day.

Chris

Reply via email to