[Zope] temporary document
Jerome Alet
alet@librelogiciel.com
Fri, 4 Apr 2003 17:35:46 +0200
On Fri, Apr 04, 2003 at 05:26:00PM +0200, Oliver Bleutgen wrote:
>
> If you really want it in the zodb, you could use the "precondition" for
> a file object in order to compare ZopeTime() to
> bobobase_modification_time (or a special property you create for this
> task). If someone hits the file when
> ZopeTime() > bobobase_modifcation_time + 2 hours, simply reply with a
> 404 and delete the file.
OK, but if nobody tries to download it, the file stays in my ZODB...
And that's what I wanted to avoid.
OK, I'll probably code some cron job of some sort...
Thanks anyway
Jerome Alet