[Seaside] Server Events
Hernán Morales Durand
hernan.morales at gmail.com
Mon Oct 26 16:28:11 UTC 2009
2009/10/26 Lukas Renggli <renggli at gmail.com>
> > 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.
>
http://www.squeaksource.com/Scheduler.html
Hernán
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20091026/06757bb0/attachment-0001.htm
More information about the seaside
mailing list