I there a script that cleans up temp file?

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

Is there a script, or something that can be added to the S-Mart script, that can delete the cart entries in the temp directory. So I don't have to go in every few days and delete all the tmp files.

-- Shaun (sguido@home.com), November 19, 1998


Pending on the box you have you can either use a cron rd on unix machines or a schedule *.bat file utility to regularly clean out all the contents of the tmp folder!

-- Hans (hans@perlshoppe.com), December 09, 1998.

Moderation questions? read the FAQ