Web Hosting Talk







View Full Version : web stats drift


bglkk
06-09-2003, 11:54 AM
My web stats programs are all running a couple of minutes later every day--with the result that as of yesterday they ran at 2:02PM, whereas a couple of months ago it was 4AM. Server time remains correct. It's not a big deal, but curious. Any advice on how I can control this?

hololi
06-09-2003, 12:20 PM
sounds like a problem with cron

never heard of that before

assume you are using cron to kick off a script that does the stats for you ?
if so I'd add a line like
echo "running script at `date` " | tee -a /tmp/logfile.log

hope it helps
hololi

bglkk
06-12-2003, 10:47 AM
Thanks for the tip. Neglected to mention that I'm using Cpanel. Does Cpanel use it's own cron? I can't find where this is set.

Did find this in Tweak Settings

'Number of days between processing log files and bandwidth usage (default 1, decimal values are ok):"

Guess I'll start with a .99 value and see what happens from there...

Thanks.

bglkk
06-13-2003, 02:51 PM
Well that's it. After changing to .99, update times have gone from 2:15 to 2:03 to 1:51.