* SUMMARY: Cron Failed Jobs Email
@ 2001-03-26 23:39 bac
0 siblings, 0 replies; only message in thread
From: bac @ 2001-03-26 23:39 UTC (permalink / raw)
To: tru64-unix-managers
Thanks a bunch to:
Oisin McGuinness
Jim Belonis
James Sainsbury
John J. Francini
Jeff Berliner
Dr. Thomas.Blinn@ Compaq.com
Steve VanDevender
The question was:
Any failed cron jobs send an email to root.
Is there a configuration we can modify to change it so
that the email is not sent??
The answer is as follows:
cron automatically mails any stdout and stderr data to
the owner of the cronjob. If your scripts are careful
to redirect this information, no mail will be sent.
If your cronjob looks like:
0 20 * * * /db8/backup/oracle/archive.sh
adding the following would eliminate any output:
0 20 * * * /db8/backup/oracle/archive_rvu.sh >
/dev/null 2>&1
That redirects any stdout and stderr to the null
device.
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-03-26 23:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-26 23:39 SUMMARY: Cron Failed Jobs Email bac
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox