[Grok-dev] Triggering recurring events and executing tasks in the
gary at zope.com
Wed Mar 26 11:02:28 EDT 2008
On Mar 26, 2008, at 10:43 AM, Tim Terlegård wrote:
> On Mar 26, 2008, at 3:31 PM, Sebastian Ware wrote:
>> I have two questions in the "best practice" category. Since they
>> are related I am posting one message:
>> 1 If I want to create a queue utility which executes tasks from a
>> task list in the background, how would I accomplish this?
>> 2 If I want to have actions performed at preset times or at
>> intervals, how would I accomplish this?
> There are atleast two options:
> 1) lovely.remotetask
> 2) zope's internal clock server, there's an example
Tim's quite right.
I can't help but mention zc.async, which is now in a push to actually
be used here at ZC. It shouldn't be used--and perhaps can't be used--
by anybody other than us right now, I'd say (so that we're the ones
dealing with breakage at this stage) but, as I said, I can't help
lovely.remotetask is very similar in design to the Zope 2 zasync that
we did some years back. This new design is intended to address a lot
of concerns with that design.
For now, I suggest you go with one of Tim's suggestions. But hey,
zc.async is/will be cool! ;-)
More information about the Grok-dev