You are not logged in.

#1 2009-09-20 07:17:58

napsy
Member
Registered: 2009-03-07
Posts: 48

[SOLVED] my crontab entry doesn't run

Hello.

Using crontab -e I added the following line at the bottom:

*/5 * * * * /usr/bin/fetchmail -k -m "/usr/bin/procmail -d %T"

This should execute "/usr/bin/fetchmail -k -m "/usr/bin/procmail -d %T"" every five minutes. But it doesn't as I don't get new mail in mutt. Now if I run the mentioned command manually in fetches mail and it is show in mutt later.

Any ideas what I am doing wrong?

Last edited by napsy (2009-09-20 15:48:28)

Offline

#2 2009-09-20 15:34:35

napsy
Member
Registered: 2009-03-07
Posts: 48

Re: [SOLVED] my crontab entry doesn't run

Solved. The problem was I tried to run fetchmail as root. Adding the mentioned line to user cron fixed the problem.

Offline

#3 2009-09-20 15:38:56

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: [SOLVED] my crontab entry doesn't run

I'm glad you got it figured out, please marked the thread solved by editing the topic in the first post.

Offline

Board footer

Powered by FluxBB