[Zope] ClockServer 0.1 released
Chris McDonough
chrism at plope.com
Wed Apr 6 12:24:18 EDT 2005
On Wed, 2005-04-06 at 11:05, Florent Guillaume wrote:
> Chris McDonough <chrism at plope.com> 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
More information about the Zope
mailing list