[Zope] Real time triggers in Zope

Brendon Grunewald brendon@70south.com
Sat, 22 Sep 2001 19:58:27 +0200


Hi Zopistas

I'm trying to create a notification / trigger function in Zope. Since there
are typically a couple of ways to implement things in Zope, I'd like to hear
some suggestions on how to accomplish the following:

1. Trigger an article to become displayed at or after a certain date and
time. Like preloaded press releases that are then "released" for view at the
given date. Or pages that are announced, or product details that are
launched etc.

2. The Zope server should send an email notification to someone at a
specific TIME, not when a certain submit button or website is viewed. The
means that the server has to implement a not web interface based trigger
(real-time). Something simple like will not work since it needs the
particular page to be hit at the required second
<dtml-if expr="(ZopeTime()).month()== 1  and (ZopeTime()).day()== 1 and
(ZopeTime()).hour()== 0 and (ZopeTime()).minute()== 0 and
(ZopeTime()).second()== 0">
<dtml-var Send_NewYear_Notification>

Regards,
Brendon

---
Brendon Grunewald

70South:
- Interactive and updated daily with the latest news and information on
Antarctica and related topics.
- Available on your PC, Mobile Phone and PDA.
- The No.1 source for Antarcticles (tm)