On 2009-06-24, Gary Poster <gary.pos...@gmail.com> wrote:
> zc.async can be used to do cron-like activities by starting a job,
> to be performed after a certain time, that has a callback that
> reschedules another job when desired.
> This has the advantage over cron-like behavior because it does not
> reschedule until the first job is done.

Well, for a task that runs a couple of seconds once a day or once a
week...  My first thought was "if something goes wrong, the chain is
broken and no new jobs will be scheduled anymore".  From the
documentation, it seems zc.async is pretty robust so this is probably
not something I have to worry about.

I'd put a short paragraph in the readme that this is how you can do
cron jobs.  Helps with the google for "zope cron", too :-)

> Other zc.async competitors have cron implemented more directly, but
> I found it to be very easy and flexible to do what I wanted using
> the zc.async approach.

Thanks for the info.  I'll see if I can get a basic cron-with-pack
setup in one instance running.


Reinout van Rees - rein...@vanrees.org - http://reinout.vanrees.org
Software developer at http://www.thehealthagency.com
"Military engineers build missiles. Civil engineers build targets"

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

Reply via email to