Mailinglist Archive: opensuse (3104 mails)
| < Previous | Next > |
Re: [SLE] Re: Running Fetchmail as a deamon
- From: moseley@xxxxxxxx (Bill Moseley)
- Date: Fri, 28 Apr 2000 19:38:46 -0700
- Message-id: <3.0.3.32.20000428193846.021088dc@mardy>
At 06:16 PM 04/28/00 -0700, S.Toms wrote:
>(all on one line)
>0-59/5 * * * * mail test "`ps acx | grep pppd`" != "" &&
/usr/bin/fetchmail -d 300
>if it finds that pppd daemon is running, it will launch fetchmail which
>will begin checking for messages. A seperate line like the following
>
>(all on one line)
>0-59/5 * * * * mail test "`ps acx | grep pppd`" = "" &&
/usr/bin/fetchmail -q
>
>which will check to see if pppd is down and kill fetchmail thus preventing
>problems.
I think this could all be simplified by using fetchmail's -M switch. Start
fetchmail at boot (or first time ip-up.local is executed, and leave it
running). Fetchmail will fetch mail while on-line, and it will wait while
off-line.
Bill Moseley
mailto:moseley@xxxxxxxx
--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
| < Previous | Next > |