You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by "Christopher M. Logan" <ch...@gmail.com> on 2008/04/02 04:58:53 UTC

Re: hit count reset

Thank you Dave!!

Dave wrote:
> On Fri, Mar 28, 2008 at 12:51 PM,  <ch...@bnymellon.com> wrote:
>   
>>  I'm using the $site method getHotWeblogs(int sinceDays, int max).  I'm
>>  using a blog  that is set as an aggregated main blog page.
>>  Yesterday we had a number of hits on a few of the weblogs.  Today, i see
>>  none of the blogs listed.  I hit a blog after that it is now showing up
>>  with the number of hits as 3 (the same number of times i hit it
>>  today)...
>>
>>  Why did the hit count reset?
>>     
>
> By default Roller clears it's hit and referrer counts every night at
> midnight. They're intended to be "today's hits" and "today's
> referrers" counts and nothing more -- for real stats you should use
> Google Analytics or some such thing.
>
> If you want to turn off the resets, then take a look at the section on
> "Scheduled tasks configuration" in the roller.properties file listed
> at the end of the Roller 4.0 installation guide. You can turn off the
> reset hit and reset referrers tasks by overriding the 'tasks.enabled'
> property and leaving out those two. For example, like this:
>
>    tasks.enabled=ScheduledEntriesTask,PingQueueTask
>
> - Dave
>
>