Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fetchmail dying
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
AscendantMage
n00b
n00b


Joined: 29 Aug 2002
Posts: 35
Location: Oslo, Norway

PostPosted: Wed Apr 30, 2003 10:21 am    Post subject: Fetchmail dying Reply with quote

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
View user's profile Send private message
braindead0
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2003
Posts: 146
Location: Ohio

PostPosted: Wed Apr 30, 2003 1:12 pm    Post subject: Reply with quote

I usually setup fetchmail as a regular cron job (every 15 minutes or so) instead of deamonizing.
Back to top
View user's profile Send private message
avenj
Retired Dev
Retired Dev


Joined: 11 Oct 2002
Posts: 495
Location: New Hampshire

PostPosted: Thu May 01, 2003 12:13 am    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20589

PostPosted: Thu May 01, 2003 2:44 am    Post subject: Reply with quote

Moved from Other Things Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum