[Zope] expiring dtml documents

Dieter Maurer dieter@handshake.de
Sun, 19 Nov 2000 19:55:49 +0100 (CET)


wade naveja writes:
 > 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?
You find them with "ZopeFind" (-> built-in API documentation),
and delete them with "manage_delObjects" (-> built-in API documentation)
(you may need nested "ZopeFind"s as "manage_delObjects" is a folder
method).

You can automate this be an external script (-> HowTo on zope.org).


Dieter