Antville Project

schedule: most read stories + referrer

Wir hatten Probleme mit den most read stories (alle Counter blieben 0) und den Referrers (es gab keine).

Unsere Lösung: Antville 1.0 erwartet alle 30 Sekunden einen automatischen Aufruf seiner globalen Funktion scheduler() in der Datei global/objectFunctions.js durch den Helma-Server.

Das cron-Regime des Helma-Servers wurde jedoch offensichtlich von helma-1.2.4-pre1 zu helma-1.2.4 umgestellt, so dass die aufzurufende Funktion (maximal Minutenauflösung) in die antville/app.properties einzutragen ist:

cron.scheduler.function = scheduler cron.scheduler.minute = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46, 47,48,49,50,51,52,53,54,55,56,57,58,59

Danach Helma neustarten und im helma/log/antville_event.log das minütliche update von read-countern und referrer beobachtbar.

Thank you, for this great application!

comment    

 
tobi, June 25, 2003 at 4:18:53 PM CEST

right

and thanks for the information.

i think you even could drop the second line with the minutes (which i dared to edit slightly). helma should call the scheduler function every minute by default (right?)

link  

 
iboe, June 25, 2003 at 4:24:56 PM CEST

you are right,

the second line is not needed, it works without it.

link  

 
tobi, June 25, 2003 at 4:38:57 PM CEST

there's even more

you also can make helma's cron process act like the late scheduler by setting e.g.

schedulerInterval = 30

for helma calling the definied cron functions each 30 seconds after they terminated.

link  


... comment


The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8546 Days
last updated: 1/4/11, 10:22 AM
status
Youre not logged in ... Login
menu
November 2024
SunMonTueWedThuFriSat
12
3456789
10111213141516
17181920212223
24252627282930
July
recent
zfuture's house here is zfuture's
house
by zfuture (7/31/03, 2:59 AM)
i understand your concerns however,
i hardly can think of a solution. certainly, if the...
by tobi (7/29/03, 9:47 AM)
Found several more similar sites
listed This is getting to be quite a concern to...
by cobalt123 (7/27/03, 7:56 PM)
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03, 7:14 PM)
well it's not easy to
find from here, anyway. think we should include a link,...
by tobi (7/24/03, 11:25 AM)
So finally I found
the helma Bugzilla - stupid me.
by mdornseif (7/24/03, 10:28 AM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03, 8:25 PM)
but blogosphere.us isn't can't really
be rated as spam can it?
by kohlehydrat (7/23/03, 8:08 PM)
More referrer spam www.webfrost.com
by Irene (7/23/03, 7:55 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)

Click here to get an XML version of this weblog.

Made with Antville
powered by
Helma Object Publisher