Operating System - HP-UX
1833863 Members
1932 Online
110063 Solutions
New Discussion

Re: Eliminating CRON mail notification.

 
SOLVED
Go to solution
Martin Burnett
Occasional Contributor

Eliminating CRON mail notification.

Everyone is familiar with the mail notifications received from cron jobs running on your system. Is there a way in HPUX v11 to stop them from being sent to roots mailbox everytime, and if so does the same hold true for AT? I have currently set the cron standard output mail to be redirected to /dev/null, but I was trying to find away to turn it off completely.
You can learn from anyone, if you listen.
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor
Solution

Re: Eliminating CRON mail notification.

Martin:

The following thread tells how to do this:

http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xf06b7e990647d4118fee0090279cd0f9,00.html

...JRF...
Manju Kampli
Trusted Contributor

Re: Eliminating CRON mail notification.

redirect the output of the cronjob to /dev/null.

command >/dev/null 2>&1


Never stop "LEARNING"