PDA

View Full Version : Good time to update awstats


manyhatz
10-11-03, 11:25 AM
I just set up awstats on two of my sites and they are working fine. (Thanks for the great tutorial) My question is, What is the best time to set the cron job to run? I have it set to 2355 hours now,(5523***) but noted that others are using a different time. Thank you in advanced for your suggestions.

I may have asked the wrong question. I'm not sure how often the log files are updated for my web site. I'm guessing once a day. Not knowing when the log file update happens, so I'm not sure when to run awstats update. I'm not sure it even matters. Any thoughts?

Fraki
10-13-03, 07:57 AM
No one has any recommendations? I'm kind of curious myself...

If I'm not mistaken, logs roll over at midnight PDT, give or take a few minutes. Based on that, I'd set my cron to update it about 12:30 PDT.

Any other input?

(jj)
10-13-03, 09:50 AM
I'd suggest that you check your log rollover times and set your cron job to run at least 1/2 hour after the latest time.

Not all servers rollover the logs at the exact same time, that is why I suggest to check your individual log rollover times. Your access_log.1 - .2 etc will have a time stamp when they were created.

You can set your update time to anytime after the rollover and before the next rollover occurs.

This is based on if you are using the access_log.1 file for your stats update.