[mapserver-users] temporary files deletion

Sam Paske spaske at kapur-assoc.com
Thu May 17 09:06:34 PDT 2001


On Windows 2000 Server we use a simple .cmd file that has one line:
del C:/temp/*.gif

The cmd file is run daily by the Task Scheduler service, which is available
on Win98SE and above, I believe. The Task Scheduler is usually found in the
Start Menu in Program Files->Accessories->System Tools.

.cmd files are similar to batch files (.bat) so perhaps on Win98 a batch
file would work when scheduled to run by the Task Scheduler. Since you have
Win95, perhaps you could run the bat file automatically when the machine
reboots. Assuming you reboot daily at the most and weekly at the least, this
could meet your needs if the machine has enough disk space.

Sam Paske
Kapur & Assoc
Milwaukee, WI, USA

-----Original Message-----
From: owner-mapserver-users at lists.gis.umn.edu
[mailto:owner-mapserver-users at lists.gis.umn.edu]On Behalf Of Speh
Sylvain
Sent: Tuesday, May 15, 2001 8:56 AM
To: Assefa Yewondwossen
Cc: mapserver-users at lists.gis.umn.edu
Subject: RE: [mapserver-users] temporary files deletion


Yes, why not, but, what about mapServer under W95 which is not provided with
a scheduler/chrontable ?

Someone here was trying to use a VB script into an HTML page ( like some
virus do ), but we could'nt achieve it.

Any Idea ?

-----Message d'origine-----
De : Assefa Yewondwossen [mailto:assefa at dmsolutions.ca]
Envoyé : lundi 14 mai 2001 22:01
À : mapserver
Objet : Re: [mapserver-users] temporary files deletion


Hi There,

 For those of you who use windows, there is an executable on our site that
can be used to delete tmp files created by mapserver.

http://www2.dmsolutions.on.ca/webtools/dl/deltmpfiles.zip

Note : I did some initial testing but I will start testing it on our
internal server begining today.

Later,

Assefa Yewondwossen wrote:

> Hi,
>
>  Does any one has a bat file or an exe file (or other means) that I can
> use to delete files on windows based on the time of the files. I would
> like to be able to delete tmp gif files generated by mapserver that are
> older that x time.
>
> Thanks,
>
> --
> ----------------------------------------------------------------
> Assefa Yewondwossen
> Software Analyst
>
> Email: assefa at dmsolutions.ca
> http://www.dmsolutions.ca/
>
> Phone: (613) 565-5056
> ----------------------------------------------------------------

--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056
----------------------------------------------------------------




More information about the MapServer-users mailing list