PDA

View Full Version : How can I prevent cron from mailing me?


Shag
01-07-2001, 01:36 PM
I have setup a cron job to run every 30 minutes. For some reason, it feels the need to email me every time it runs to let me know that it worked. This results in a whole lot of mail. :) How can I prevent this?

Jordie
01-07-2001, 10:52 PM
I would help but what is a Crontab?

Son Nguyen
01-08-2001, 08:04 PM
Crontab is a scheduler under Unix/Linux, it run your commands at predefined time.

Mine is the reverse thing, I need it to email me, but it doesn't!!! I'm glad to know the solution for this too.
I believe there is a server configuration for it since on another server, cron daemon sends me the output.

Shag
01-08-2001, 08:32 PM
Well, I redirected the ouput of the script to /dev/null and I'm no longer getting the emails. Woohoo!! :) No idea how to get it to mail you, though - it just did it automatically for me...