* can cron NOT send mail and still produce a log
@ 2001-08-08 19:15 Andy Cohen
0 siblings, 0 replies; only message in thread
From: Andy Cohen @ 2001-08-08 19:15 UTC (permalink / raw)
To: tru64-unix-managers
Hi,
We have a number of jobs that run from cron. We produce logs of these jobs
with the redirect (>) symbol. It appears that cron is also sending the
output to the mail account of the owner of the cron. I was told that if we
redirect output to /dev/null then we won't get the e-mail anymore but we
need to continue to produce the logs. Is there a way to have cron still
redirect its output to a file AND not send mail?
Here's an example of our syntax:
02,17,32,47 * * * * /home/oracle/check_db_link.sh >
/home/oracle/logs/check_db_link.log 2>&1
Thanks!
Andy
Andy Cohen
Database Systems Administrator
Cognex Corporation
1 Vision Drive
Natick, MA 01760
----------------------------------------------
e-mail: andy.cohen@cognex.com
voice: 508-650-3079
cell: 617-470-0034
fax: 508-650-3337
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-08-08 19:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-08 19:15 can cron NOT send mail and still produce a log Andy Cohen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox