FWIW, I created a Zope branch that has a "clock server" which doesn't require a third-party process to act as a clock. It's in CVS as the chrism-scheduling-branch branch. See http://www.plope.com/Members/chrism/more_scheduling/newsitem_view for more information. On Fri, 2004-02-20 at 08:45, Terry Hancock wrote:
On Thursday 19 February 2004 11:28 pm, Etienne Labuschagne wrote:
Thanks for the feedback Dieter and Terry,
Using a cron job is probably the fastest, easiest and most pragmatic way for us programmers. My job as a programmer, however, is to make life even easier for my clients. My clients mostly use Windows and gets a glazed look in their eyes when I start talking about running this script and running that script.
Actually, in my experimental tests, I launched the heartbeat script I showed you via os.system() from a trigger in __setstate__ in my product's instance. So it doesn't require the user to do anything extra.
I haven't tested this in a production environment, but it worked in my prototype (I was using this to have a "store" app interface to the credit processor by sending an email, then catching the reply -- so it had to check the mailbox periodically. In my tests, I was using my email aliasing to just forward the email back to the server's listening address).
Cheers, Terry
-- Terry Hancock ( hancock at anansispaceworks.com ) Anansi Spaceworks http://www.anansispaceworks.com
_______________________________________________ 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 )