good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: cleanup a cancelled CGI scriptby zebedee (Pilgrim) |
on Jun 08, 2004 at 19:58 UTC ( [id://362520]=note: print w/replies, xml ) | Need Help?? |
I think (on Windows, anyway) that you'd have to have a sweeper (reaper?) process that comes along every hour or so looking for ZIP files that are older than, say, one hour, and assume that they are incomplete, and delete them.
Or you could add them to a database, or send them to another process, whose job it is delete any ZIPs in its list (or database) that are older than x hours.
In Section
Seekers of Perl Wisdom
|
|