
15th September 2005, 21:30
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 116
Thanks: 4
Thanked 0 Times in 0 Posts
|
|
webanalyzer realtime
how to force it to run realtime? I want to test my stat but I'm not going to wait for tonight 12:00 am and I dont want to change timestamp
and at the other hand I want to have realtime (or at least run every 5 minutes) stat option for certain websites
thanks
|

15th September 2005, 22:01
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Quote:
|
Originally Posted by Hellbound
how to force it to run realtime? I want to test my stat but I'm not going to wait for tonight 12:00 am and I dont want to change timestamp
and at the other hand I want to have realtime (or at least run every 5 minutes) stat option for certain websites
thanks
|
You can't have them realtime because Apache writes everything into one big log file which is splitted by a cron job into logs for every single web site (for performance reasons), and statistics can only get updated after that split.
|

15th September 2005, 22:18
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 116
Thanks: 4
Thanked 0 Times in 0 Posts
|
|
so how do I manualy trigger that cron job? and how to set how frequent I want that happen?
thanks for your reply
|

15th September 2005, 22:27
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
Quote:
|
Originally Posted by Hellbound
so how do I manualy trigger that cron job? and how to set how frequent I want that happen?
thanks for your reply
|
If you run it manually before midnight or more than once a day, your stats will be incorrect. If you want to run it manually or more frequently, you have to rewrite the logs.php script that is responsible for logsplitting.
|

15th September 2005, 22:29
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 116
Thanks: 4
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by till
If you run it manually before midnight or more than once a day, your stats will be incorrect. If you want to run it manually or more frequently, you have to rewrite the logs.php script that is responsible for logsplitting.
|
if I modify logs.php to run more frequent it will result incorrect output? how to fix it anyway?
thanks
|

15th September 2005, 22:41
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
Quote:
|
Originally Posted by Hellbound
if I modify logs.php to run more frequent it will result incorrect output?
|
If you run logs.php without modifying the script will result in incorrect statistics.
Write a new logsplitting script that does not rely on the fact that it is called only once a day after midnight  Open the script in an editor and try to understand how it works and you will see that the timestamping will not work when called several times a day.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 11:02.
|
Recent comments
1 day 2 hours ago
1 day 7 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 13 hours ago
1 day 13 hours ago
1 day 14 hours ago
1 day 15 hours ago