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 daily.sh again but nothing changed.
What could be the problem?
P.V.Anthony
|