View Single Post
Old 10th October 2012, 19:22
pvanthony pvanthony is offline
Join Date: Jun 2012
Location: Singapore
Posts: 40
Thanks: 6
Thanked 5 Times in 4 Posts
Send a message via Skype™ to pvanthony

Went into the logs an noticed that it did update the awstats but it is still two days off. So I think the script is working but two days off.

Here is the listing of the last few files of the logs. Observe the dates and the link file named yesterday.

-rw-r--r-- 1 root root 43K Oct 11 00:02 20121008-access.log.gz
-rw-r--r-- 1 nginx root 478K Oct 9 23:51 20121009-access.log
-rw-r--r-- 1 nginx root 880K Oct 10 23:59 20121010-access.log
-rw-r--r-- 1 nginx root 1.6K Oct 11 00:15 access.log
-rw-r--r-- 1 nginx client6 70K Oct 11 00:10 error.log
lrwxrwxrwx 1 root root 54 Oct 11 00:13 yesterday-access.log -> /var/www/clients/client6/web10/log/20121009-access.log

Tried running the again but nothing changed.

What could be the problem?

Reply With Quote