Yeah, but be careful. I don't understand everything I wrote in Xron's Dispatcher.py. And I'm certainly not sure that it makes best use of the ZODB. -- Loren
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Shai Berger Sent: Thursday, August 09, 2001 07:10 To: Olivier Deckmyn; zope@zope.org Subject: Re: [Zope] Threads, ZODB, deactivate, setstate, etc...
When we needed threads to executes Zope methods, we were afraid of something like this, so we implemented it by making threads that knew nothing of ZODB'ed objects, and accessed the relevant methods with Python's urlretrieve.
But I think you are in a much better position than we were... Check out the Xron product, for pre-scheduled calling of Zope methods. You should be able to either cannibalize or just use it.
HTH, Shai.