[Mapserver-users] problem with crontab to delete old map images

Gregory S. Williamson gsw at globexplorer.com
Mon Aug 18 16:28:04 EDT 2003


Perhaps provide the full path name to each command (e.g. "/usr/bin/find ...") ?

This script might also blow away images that are current ? You might want to add a time range to it.

Greg W.
DBA
GlobeXplorer LLC

-----Original Message-----
From:	fx gamoy [mailto:fx.gamoy at mapxplore.com]
Sent:	Mon 8/18/2003 1:08 PM
To:	mapserver-users at lists.gis.umn.edu
Cc:	
Subject:	[Mapserver-users] problem with crontab to delete old map images

hello
i have added a daily job with crontab -e 
00 20 * * * find /web/mapimage -name "*.png" -exec rm -f  {} \;
but nothing occur at 20:00.

i use a debian woody package and cron seem to be well started

which time cron use? universal? (date -u) or local (date)?
thanks for any suggestion
fx








More information about the mapserver-users mailing list