tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Andy Cohen <Andy.Cohen () cognex ! com>
To: tru64-unix-managers
Subject: can cron NOT send mail and still produce a log
Date: Wed, 08 Aug 2001 19:15:46 +0000	[thread overview]
Message-ID: <102653669621823.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2001-08-08 19:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox