Cleaning the /tmp directory

Lester Caine lester at LSCES.CO.UK
Mon May 23 13:07:12 EDT 2005


John Kim wrote:

>  > from : http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptRH72
>  > there is :
>  > Setup MapServer IMAGEDIR and cleanup script
>  > ...
>
> Any tips on how you'd do this in Windows?

I just run a scheduled task which is a batch file that deletes all the
files. It runs a midnight, so anybody working at that time might see a
problem.
I really must get round to writing a program that just deletes anything
over x hours old so that it is not so violent with files that have just
been created ;)

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services



More information about the mapserver-users mailing list