Re: best way to start fetchmail at boot
From: John Prather (jprather_at_uci.edu)
Date: 01/28/05
- Previous message: John Prather: "Re: named won't start on 5.1"
- In reply to:(deleted message) Thomas Köllmann: "Re: best way to start fetchmail at boot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 Jan 2005 12:07:03 -0800
To start custom stuff at boot that the OS doesn't already support, just
create a /etc/rc.local file and put the commands you want run at boot
time in there.
-john
Thomas Köllmann wrote:
> "MZ" <zarellam@removetwcny.rr.comspam> writes:
>
>
>><snip>
>>
>>>so the user's crontab may contain a line like this:
>>>
>>>@reboot /usr/local/bin/fetchmail -s -d 450
>>>
>>>to suck mail every 7.5 minutes
>>
>>I added the following line to /etc/crontab
>>
>>@reboot mark fetchmail
>>
>>It still doesn't work. What am I doing wrong? It works if I manually do it
>>by logging in as mark and typing fetchmail.
>
>
> Most likely cron doesn't have /usr/local/bin in it's $PATH.
>
> Specify the full path to fetchmail, or maybe add it to cron's environment
> (defined at the top of /etc/crontab).
>
>
>>Also, to start dovecot at boot, I manually do it by logging in as root and
>>typing dovecot. Could I add this to the crontab in the same manner as
>>fetchmail?
>
>
> There should have been installed a start script if you use the dovecot
> port or package. Read it to see whether you need to switch it on
> somehow.
>
> Gruß
> - Thomas
>
>
- Previous message: John Prather: "Re: named won't start on 5.1"
- In reply to:(deleted message) Thomas Köllmann: "Re: best way to start fetchmail at boot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|