remove temp files

Stephen Lime steve.lime at dnr.state.mn.us
Tue May 9 07:54:05 PDT 2000


here's the script we use, runs hourly:

#!/bin/csh

find /usr/local/www/docs/tmp -follow -name "*.gif" -exec rm {} \;

Steve

Stephen Lime
Internet Applications Analyst

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> Berend Veldkamp <berend.veldkamp at aris.nl> 05/09/00 05:24AM >>>
Thanks, I know how crontab works. I was only hoping there existed some
feature in mapserver which deletes the gifs.
Bye, Berend

Ma wrote:

> man crontab
>
> ---
> Ma
>
> Berend Veldkamp wrote:
>
> > Hi all,
> > What is the best way to get rid of the temporary gif's that mapserver
> > creates? Is it something my webserver takes care of, or do I have write
> > a script to do this.
> > TIA,
> >
> > Berend
> >

--
______________________________________________

ARIS - Hooghiemstraplein 126 - 3514 AZ Utrecht
tel. +31 30 2769180   -   fax. +31 30 2733578
URL: http://www.aris.nl 
______________________________________________






More information about the MapServer-users mailing list