[Zope] expiring dtml documents

wade naveja wade@fizzylab.com
Sat, 18 Nov 2000 13:00:23 -0800 (PST)


any insight as to how one might code something like that?

On 18 Nov 2000, Cees de Groot wrote:

> 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
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>