I have a very annoying problem with a cron job I set up to run fetchmail. The
problem is that every now and then the job doesn't complete.

The job is set up to run as a normal user and the .fetchmailrc file is in the
user's home directory. The cron job itself is set to run every five minutes and
is simply: fetchmail -m "/usr/bin/procmail -f - "

For example, this morning I booted my computer and when the job ran I had 77
new messages. I read/deleted them all. The job ran again and I had the exact
same 77 messages. So it appeared as though the messages weren't being flushed
from my mail server. 

I dropped to a command prompt and manually entered the above fetchmail command
and 157 messages were downloaded and flushed properly. This has happened many
times before and if I wasn't around to manually enter the fetchmail command the
same 77 messages would have been downloaded ad nauseum.

Can anyone please tell me why this happens, and better yet, what I can do to
fix this? Thanks....

-Chris

Reply via email to