I like cron, but not in combination with wget. I have found this (poking methods via http) to be problematic for me in the past with automated tasks, and have mostly switched over my processes to using out-of-process temporary ZEO-enabled Zope.app() instances in python modules executed by cron jobs. More info on my comparitive thoughts wget vs. Zope.app(), and example code: http://article.gmane.org/gmane.comp.web.zope.plone.user/2490 http://mail.zope.org/pipermail/zope/2003-February/131882.html Sean -----Original Message----- From: Josef Meile [mailto:jmeile@hotmail.com] Sent: Monday, March 03, 2003 11:23 AM To: zope@zope.org Subject: [Zope] Re: How to run periodic processes - How to set Mail Host
[Juan Emilio Drault wrote (juan@l...) on 3/3/03 10:05 AM]
hi
How to run periodic processes inside Zope? I need it to run a process that sends E-mail every hour.
you can use the XRON product but a better solution would be to use Cron (Unix/Linux). I would also recommend you Cron. Once I used XCron and my system crashed everytime without finishing the XCron Method (It wasn't a Xron issue, but it affected the XCron Schedule). When Zope tried to restart, it tried to excecute the XCron Method again, so I got another email. It did it till I opened my email box (I got 500 emails).
With Cron and wget this won't happen because unix/linux finish the excecution of the method without caring if it whether crashes or not. Regards, Josef _______________________________________________ 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 )