Hello, I have written a product that uses an SQL database and ReportLab to generate dynamic reports. I then use MailHost to send the generated report via email. I would like to add some automation fuctions to the product. By automation, I mean, "At 4:00pm generate the 'Daily Productivity' report and email it to bob@bigcorp.com". A Zope macro (sort of). What I need help with is this: What Zope API functions should I use for automating a sequence of events with ReportLab and MailHost? The only solution I have visualized so far is to write an external method that uses mxDateTime to perform various functions based upon the current _.ZopeTime(). Thanks everyone, Derek Basch __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com
On Wed, Oct 16, 2002 at 12:20:56PM -0700, Derek Basch wrote:
What Zope API functions should I use for automating a sequence of events with ReportLab and MailHost?
could just write a script that does what you want, and call it either with xron (internal to zope) or an external cron job that calls wget http://myserver/url_to_trigger_report -- Paul Winkler "Welcome to Muppet Labs, where the future is made - today!"
participants (2)
-
Derek Basch -
Paul Winkler