Hi all
A quick easy one I am sure
I have setup SARG to grab the logs each day; SARG is set to run in
cron.daily every morning at 06:25
It would appear that the cache.log and access.log files are backed up to
cache.log.1 and access.log.1 at 06:17 each morning, so by the time the
cron.daily runs SARG the logs are empty
There is nothing in the squid.conf that I am aware of that would cause
the logs to rotate and backup
Where is this coming from? Or would I just be better off changing the
cron.daily to run earlier than the last date on the .log.1 file or
changing cron.hourly to run later?
The cron.hourly is set to run at 17 past each hour but this folder is
empty and runs whatever is in the crontab!
Here is the crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts
--repor
t /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts
--repor
t /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts
--repor
t /etc/cron.monthly )
#
Any suggestions would be most welcome
Cheers,
Scott
Received on Wed Aug 13 2008 - 06:49:40 MDT
This archive was generated by hypermail 2.2.0 : Wed Aug 13 2008 - 12:00:03 MDT