View previous topic :: View next topic |
Author |
Message |
payam Tux's lil' helper
Joined: 30 Jun 2003 Posts: 145
|
Posted: Thu Jul 10, 2003 3:19 pm Post subject: how do i get cron to stop sending me emails ??? |
|
|
my question is the title "how do i get cron to stop sending me emails ???" I'm using vcron. It sends users an email every time it executes something in their crontab. _________________ Athlon XP 2800+ 2.08GHz 333FSB 512KB, Biostar M7NCD Pro nForce2, 1GB Crucial DDR 333, EVGA Geforce FX 5600 256MB, Hitachi 180GB 180GXP |
|
Back to top |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Thu Jul 10, 2003 3:35 pm Post subject: |
|
|
Make sure your cron jobs aren't outputing anything to stdout or stderr, otherwise you'll get mail.
For example:
Code: | 5,15,25,35,45,55 * * * * /usr/local/bin/fetchmail -v >> /dev/null 2>&1 |
You might consider just using '> /dev/null' in case you want to recieve error messages.
Last edited by Pythonhead on Thu Jul 10, 2003 3:45 pm; edited 1 time in total |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Thu Jul 10, 2003 3:36 pm Post subject: |
|
|
Add the following line to the top of your crontab:
'man 5 crontab' for more details. |
|
Back to top |
|
|
|
|
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
|
|