CGI conundrum
Andrew Dalke
dalke at acm.org
Sun Mar 5 00:56:47 EST 2000
Robin Becker asked:
> Do I set up a cgi script to do the job for me and
> get my cron job to request it using urllib or is
> there some more obvious way?
The other option would be to do the cleanup in each
CGI call. Most cleanup I know of is "scan the
directory and remove files older than X days".
That's quick enough that user's shouldn't see slow
downs, and if it is, spawn off the cleanup task
in the background.
Andrew
dalke at acm.org
More information about the Python-list
mailing list