On Wed, 2005-04-06 at 11:05, Florent Guillaume wrote:
> Chris McDonough  <[EMAIL PROTECTED]> wrote:
> > I was creeped out by Zope scheduling products that started a separate
> > thread to call methods at scheduled intervals and I got tired of setting
> > up cron+wget to call Zope methods via HTTP, thus:
> >  
> > http://plope.com/software/ClockServer
> > 
> > It works by posing as a medusa server, and injects things that look like
> > http requests into the publisher every so often.
> 
> Very nice.
> 
> I'm confused about the need for an external module for timeslice.
> What's wrong with:
> 
> def timeslice(period, when=0):
>     return when - (when % period)

That'd probably work. 

- C


_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to