[Mapserver-users] How to empty the TMP directory

Gregory S. Williamson gsw at globexplorer.com
Tue Nov 4 16:03:03 EST 2003


Guillaume ,

Mapserver seems to be done with the process once it puts the output files in the directory; you'll have to write a utility program to periodically delete old files. There used to be a utility on the MMS site for doing this under windows; I think a search of the list's archive would turn up the code. Unders *nix you'll want a cron job that runs a script that deletes all files that are older than some amount of time. I can provide a snippet that works under Solarix but don't know about the linux variants.

HTH,

Greg Williamson
DBA
GlobeXplorer LLC

-----Original Message-----
From:	Guillaume MOCCAND [mailto:moccand at ensg.ign.fr]
Sent:	Tue 11/4/2003 10:50 AM
To:	mapserver-users at lists.gis.umn.edu
Cc:	
Subject:	[Mapserver-users] How to empty the TMP directory

hi,

i wonder how i can empty the TMP directory that contains all the files created 
by Mapserver.
do i need to configure Mapserver or do i need to proceed without using 
Mapserver.

Thanks

Guillaume MOCCAND
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users







More information about the mapserver-users mailing list