View previous topic :: View next topic |
Author |
Message |
AscendantMage n00b


Joined: 29 Aug 2002 Posts: 35 Location: Oslo, Norway
|
Posted: Wed Apr 30, 2003 10:21 am Post subject: Fetchmail dying |
|
|
Heya, all.
My mail setup uses fetchmail running as a daemon to get mail from my ISP, However, I have a problem with the Daemon "dying". I'd like to set up a cron-job or something, restarting the daemon, let's say every 30 minutes or so - but my knowledge of cron is flaky at best....
Anyone wanna help me out ?
At least this is a temporary solution until I've tracked down the reasons for the fetchmail troubles...
Thanks in advance... _________________ there are 10 kinds of people in the world -
those who understand binary, and those who don't. |
|
Back to top |
|
 |
braindead0 Tux's lil' helper


Joined: 29 Apr 2003 Posts: 146 Location: Ohio
|
Posted: Wed Apr 30, 2003 1:12 pm Post subject: |
|
|
I usually setup fetchmail as a regular cron job (every 15 minutes or so) instead of deamonizing. |
|
Back to top |
|
 |
avenj Retired Dev


Joined: 11 Oct 2002 Posts: 495 Location: New Hampshire
|
Posted: Thu May 01, 2003 12:13 am Post subject: |
|
|
Something like this ought to work, at least in vcron:
0,30 * * * * fetchmail -f /path/to/fetchmailrc > /dev/null 2>&1
If you think fetchmail is broken, please file a bug at bugs.gentoo.org (I'm the fetchmail maintainer).
Daemonization of fetchmail works fine for me. |
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 20589
|
Posted: Thu May 01, 2003 2:44 am Post subject: |
|
|
Moved from Other Things Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
 |
|