[Zope] expiring dtml documents

Cees de Groot cg@cdegroot.com
18 Nov 2000 11:29:32 +0100


wade naveja <wade@fizzylab.com> said:
>i maintain a zope server that collects several hundred dtml documents per
>day.  there is a need to have dtml documents removed 2 weeks after they
>are created.  any suggestions on how to go about doing this?
>
I'd make a cron job that kicks off a bit of code inside Zope every night; let
the code walk the tree and expire old documents. 

With ZEO you should be able to do this directly from a Python script.

-- 
Cees de Groot               http://www.cdegroot.com     <cg@cdegroot.com>
GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD  1986 F303 937F E098 9E8B