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

Lowell Filak lfilak at medinaco.org
Tue Aug 19 09:38:30 EDT 2003


If the entry "41 22 * * * /bin/date >> /tmp/crondate.log" failed (ie.
there is no /tmp/crondate.log file) what exactly leads you to believe
that cron is working correctly?
Lowell

The following message was sent by "fx gamoy" <fx.gamoy at mapxplore.com> on
Tue, 19 Aug 2003 00:09:45 +0100.

> hello 
> thanks for yours sugestions 
> all the tests failed
> the cron daemon seem to be ok 
> i can 't find any cron log file in order to look for a mystake
> fx
>   ----- Original Message ----- 
>   From: Bruce Bushby 
>   To: fx gamoy 
>   Sent: Monday, August 18, 2003 9:45 PM
>   Subject: RE: [Mapserver-users] problem with crontab to delete old
map > images
> 
> 
>   perhaps try single quotes:
>   00 20 * * * 'find /web/mapimage -name "*.png" -exec rm -f  {} \;' >>
> /tmp/cronmap.log 2>&1
> 
>   failing that, try get a log of what is going on:
>   00 20 * * * find /web/mapimage -name "*.png" -exec rm -f  {} \; >> >
/tmp/cronmap.log 2>&1
> 
>   failing that, go back to basics:
>   41 22 * * * /bin/date >> /tmp/crondate.log
> 
>   and confirm cron is working.
> 
> 
>     -----Original Message-----
>     From: mapserver-users-admin at lists.gis.umn.edu >
[mailto:mapserver-users-admin at lists.gis.umn.edu]On Behalf Of fx gamoy
>     Sent: Monday, August 18, 2003 10:08 PM
>     To: mapserver-users at lists.gis.umn.edu
>     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