[Seaside] Server Events

Lukas Renggli renggli at gmail.com
Mon Oct 26 07:19:57 UTC 2009


> Is there a way to set up a periodic event on the Seaside server independent
> of any clients? (I guess a Kom server, in this case.)

No, unless you expect periodic requests. Seaside only gains control if
somebody requests something.

It is however easy in Smalltalk to have a background thread do
something from time to time:

   [ [ (Delay forDuration: 1 minute) wait. "do something" ] repeat ] fork

There is also a package that allows you to schedule events in more
sophisticated ways, but I forgot how it is called.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list