Ok. Try looking at you referer table in the database directly with a mySQL client. If it is nonempty, the entries there are probably just too old to be counted by the "hot blogs" query. If it is empty it suggests that either the cleanup ran or an improper export/reimport.

The periodic cleanup task is org.apache.roller.presentation.TurnoverReferersTask.

It can be executed daily within the server by adding/uncommenting the following snippet in
your roller.properties / roller-custom.properties file.

---
# Comma separated list of task classnames to be executed once per day
tasks.daily=org.apache.roller.presentation.TurnoverReferersTask
---

The class also has a main method that allows it to be run (with requisite classpath) directly from, e.g., a cron job.

--a.


----- Original Message ----- From: "Guy Katz" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, July 22, 2006 12:50 AM
Subject: RE: hot blogs hit count persistency


thanks;
can you please ellaborate about the periodic cleanup task? i did not know such a thing existed. i thought the hit count just keeps on growing and growing... is the periodic task configurable in any way?
thanks


-----Original Message-----
From: Anil Gangolli [mailto:[EMAIL PROTECTED]
Sent: Thu 7/20/2006 7:13 PM
To: [email protected]
Subject: Re: hot blogs hit count persistency

It's computed by a query on the recent referrer counts which are stored in
the "referer" (sic.) table.    Perhaps you didn't export these, or you
cleared them out, or the periodic cleanup task ran and cleared them out?

--a.


----- Original Message ----- From: "Guy Katz" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, July 20, 2006 4:58 AM
Subject: hot blogs hit count persistency


Hi all;

Is the hit number for "hot blogs" saved in the DB? (Which table?).

For some reason the number was reset for all my blogs in my roller web
app.

I am doing some testing, dumping the DB and populating the DB from time
to time but I can't find a reason for why the number was reset to 0.

I am using roller 2.3/tomcat 5.5.17/mysql 4.1.16

Thanks in advance.






Reply via email to