Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vcron emailing me results
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
tsigo
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 122

PostPosted: Fri Jul 19, 2002 11:23 pm    Post subject: vcron emailing me results Reply with quote

I'm using vcron to execute fetchmail every 5 minutes and check 4 POP3 boxes, which works fine. For some reason, after it's done executing it e-mails me fetchmail's results to tsigo@localhost. Is this vcron or fetchmail doing this? How do I disable it?

Code:

From: root (Cron Daemon)
To: tsigo
Subject: Cron <tsigo@tsitoo> fetchmail


And then it does the "fetchmail: No mail for user @ server"
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Fri Jul 19, 2002 11:28 pm    Post subject: Reply with quote

Putting this line at the top of your crontab file should do it:
Code:

MAILTO=""
Back to top
View user's profile Send private message
tsigo
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 122

PostPosted: Fri Jul 19, 2002 11:44 pm    Post subject: Reply with quote

I put it in /var/spool/cron/crontabs/tsigo and /etc/crontab and also changed the command to fetchmail -s so it runs silently, no dice.

Anything else?
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Fri Jul 19, 2002 11:50 pm    Post subject: Reply with quote

You should not have to restart crond since it notices changes to crontabs. Try restarting vcron to see if it does the trick. I have the same set up and it works without problems.

BTW, use crontab -e to edit user crontabs rather than editing the spool dir.
tsigo wrote:
I put it in /var/spool/cron/crontabs/tsigo and /etc/crontab and also changed the command to fetchmail -s so it runs silently, no dice.

Anything else?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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