From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653669621823.tru64-unix-managers.marc@archive.invalid> From: Andy Cohen Date: Wed, 08 Aug 2001 19:15:46 +0000 To: tru64-unix-managers Subject: can cron NOT send mail and still produce a log X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653669621823 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