on Linux I have an hourly cron job script

#!/bin/sh
find /home/www/tmp -name "*.gif" -amin +60 -exec rm -f {} \;
exit 0


that deletes all gif's older than 60 minutes. You can add other 
extensions as well.

For Windows see eg. http://dl.maptools.org/dl/ and the link 
deltmpfiles.zip with utility and explanation.

armin


Gail Long wrote:
> Chris,
> 
> If you are on unix/linux schedule a cron job to do it at some interval you 
> choose.
> 
> If you are on windows, set up a scheduled task using task scheduler.
> 
> If you are the only one using it then you can put the code in index.phtml to 
> delete them whenever you startup.
> 
> I put in a logout function that deletes all of them when I log out of the 
> program.
> --
> Things are only difficult while you don't understand them.
> 
> 
> 
> 
>> From: Chris Beaart <beaart at wish.net>
>> To: pmapper-users at faunalia.it
>> Subject: [Pmapper-users] Delete temporary files
>> Date: Tue, 10 Oct 2006 11:38:16 -0700 (PDT)
>>
>>
>> PMapper works great. Only the temprary file in the temp directory are not
>> deleted. Is it possible to delete these (gif-files) automatically?
>>
>> Thanks and greetings,
>> Chris Beaart
>> --
>> View this message in context: 
>> http://www.nabble.com/Delete-temporary-files-tf2418664.html#a6742672
>> Sent from the Pmapper-users mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> Pmapper-users mailing list
>> Pmapper-users at faunalia.it
>> http://faunalia.it/cgi-bin/mailman/listinfo/pmapper-users
> 
> 
> 
> _______________________________________________
> Pmapper-users mailing list
> Pmapper-users at faunalia.it
> http://faunalia.it/cgi-bin/mailman/listinfo/pmapper-users
> 
> 

Reply via email to