[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Re: Fetchmail
> ay 11 16:57:53 /usr/sbin/cron[11692]: (CRON) STARTUP (fork ok)
> May 11 16:59:00 /USR/SBIN/CRON[11702]: (root) CMD ( rm -f
> /var/spool/cron/lastrun/cron.hourly)
> May 11 17:00:00 /USR/SBIN/CRON[11714]: (root) CMD (
> /usr/bin/fetchmail -d0)
Well ... this shows that cron knows about it, so syntax should be fine. I've
got Dillon's cron on my box, so not sure what Vixie has in the way of
debugging options.
fetchmail isn't already running in daemon mode or anything is it? Just
wondering if it's executing seeing that's it's already running and just
saying "oh alright then, one of me is already doing things". Another
possibility is its not finding the fetchmailrc, so give "-f" as well to
point it to the config file.
Also add " > /some/file 2>&1" to the end of the command, viz:
fetchmail -d0 -f /path/to/fetchmailrc > /some/file 2>&1
so you get a log file of fetchmail's output. That'll also give clues if
fetchmail is actually executing.
Chris...
--
\ Chris Johnson \
\ cej [at] nightwolf.org.uk ~-----,
\ http://cej.nightwolf.org.uk/ ~-----------------------------------,
\ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.