Re: [mapserver-users] Automatically Clearing Old Map Images

2009-04-28 Thread jchampagne2
Thank you! I did a little research, and writing a .bat file to execute as a scheduled task is exactly what I needed. The file is simple: @echo off cd C:\OSGeo4W\tmp\ms_tmp del *.png cls echo Your MapServer cache has been cleared! echo. pause nul Saved as 'clearCache.bat' and added it as a

Re: [mapserver-users] Automatically Clearing Old Map Images

2009-04-28 Thread Gregor at HostGIS
jchampagne2 wrote: Thank you! I did a little research, and writing a .bat file to execute as a scheduled task is exactly what I needed Cool. del *.png Just for future planning, you may want to add *.jpg and *.gif to it. Otherwise, three years from now when you're also generating JPEGs

[mapserver-users] Automatically Clearing Old Map Images

2009-04-24 Thread jchampagne2
I'm attempting to set up a web page based on the old 'Itasca' demo, but I will probably be hosting it with very limited web space. Has anybody come up with some means or method to automatically clear out old map images once they are no longer needed? In just a couple of days of testing the