View previous topic :: View next topic |
Author |
Message |
tsigo Tux's lil' helper
Joined: 09 Jul 2002 Posts: 122
|
Posted: Fri Jul 19, 2002 11:23 pm Post subject: vcron emailing me results |
|
|
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 |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Fri Jul 19, 2002 11:28 pm Post subject: |
|
|
Putting this line at the top of your crontab file should do it:
|
|
Back to top |
|
|
tsigo Tux's lil' helper
Joined: 09 Jul 2002 Posts: 122
|
Posted: Fri Jul 19, 2002 11:44 pm Post subject: |
|
|
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 |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Fri Jul 19, 2002 11:50 pm Post subject: |
|
|
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 |
|
|
|