[Zope-CMF] Extracting data from ZODB

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Mon, 31 Mar 2003 08:56:49 +0200


By checking and learning the Zope API  as described in the Zope Book=20
(Appendix B).

-aj

--On Montag, 31. M=E4rz 2003 8:53 Uhr +0200=20
"=3D?windows-1252?Q?Tim_Terleg=3DE5rd?=3D" <timte878@student.liu.se> wrote:

> What's the best way to extract data from a ZODB with a python
> script used with cron?
>
> Background:
> I have a site using Zope. When someone registers a new user they
> get an email alias pointing to some other email address. Every night
> I'd like to update the system with the current email aliases. So what
> I'd like is to extract username, email and build an /etc/aliases file and
> use /bin/newaliases on that. I guess this is someting for cron. How
> do I access and extract data from the ZODB without using the ZMI?
>
> Thanks,
> Tim
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests