Re: WooHoo! Courier-Imap is imapping away! (fetchmail config)
On Thu, Nov 06, 2003 at 03:17:45PM -0500, BruceG wrote:
>
> Think I got it. Shoulda read a little more before asking.
> My ~/.fetchmailrc looks like:
> poll mail.bellsouth.net protocol pop3 user (me) password (mypass)
>
> Then crontab looks like:
> 0,15,30,45 * * * * /usr/sbin/fetchmail
This is mostly ok, but :
- fetchmail is in /usr/bin, not /usr/sbin
- any output will be mailed to you, so you probably want
0,15,30,45 * * * * /usr/bin/fetchmail >/dev/null 2>/dev/null
or (something that might be clearer)
*/15 * * * * /usr/bin/fetchmail >/dev/null 2>/dev/null
Frank
> I think it'll work. I typed in fetchmail from the command line and it used
> my .fetchmailrc properly, so hoping crontab is good. (my first cron, oh
> boy!)
>
>
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
Reply to: