[Mapserver-users] problem with crontab to delete old map images
Vincent Schut
schut at sarvision.com
Tue Aug 19 00:51:39 PDT 2003
fx,
for me (very customized/modified Mandrake 9 system) cron puts its log messages
in the generic log: /var/log/messages. Try grepping this file for CROND. Or
simply look at the last part (tail messages) as cron should put a message
there quite frequently if you have a job every 20 minutes.
Cheers,
Vincent.
On Tuesday 19 August 2003 01:42, fx gamoy wrote:
> nothing in /var/log
> and nothing about logfile with find / -name cron
> thanks
> fx
> ----- Original Message -----
> From: Bruce Bushby
> To: fx gamoy
> Sent: Monday, August 18, 2003 11:37 PM
> Subject: RE: [Mapserver-users] problem with crontab to delete old map
> images
>
>
> Should be in /var/log
> -----Original Message-----
> From: fx gamoy [mailto:fx.gamoy at mapxplore.com]
> Sent: Tuesday, August 19, 2003 1:10 AM
> To: mapserver-users at lists.gis.umn.edu; bruce.bushby at wol.co.za
> Subject: Re: [Mapserver-users] problem with crontab to delete old map
> images
>
>
> 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
--
______________________________________
Vincent Schut
Sarvision B.V.
Wageningen, The Netherlands
www.sarvision.com
More information about the MapServer-users
mailing list