From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dermot Paikkos Newsgroups: gmane.os.tru64.managers Subject: cron output redirection Date: Tue, 22 Jul 2003 14:08:38 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3F1D4566.27452.638C6AD@localhost> Reply-To: dermot@sciencephoto.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1058879079 9462 80.91.224.249 (22 Jul 2003 13:04:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 22 Jul 2003 13:04:39 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Jul 22 15:04:36 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19ewol-0002SJ-00 for ; Tue, 22 Jul 2003 15:04:36 +0200 Original-Received: (qmail 15339 invoked by uid 5); 22 Jul 2003 13:05:39 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15330 invoked by uid 49493); 22 Jul 2003 13:05:39 -0000 Original-Received: from dermot@sciencephoto.com by sws1 by uid 49491 with qmail-scanner-1.16 (clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(0.0/5.0):. Processed in 0.378018 secs); 22 Jul 2003 13:05:39 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 22 Jul 2003 13:05:39 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HIF00ISQGDA77@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 22 Jul 2003 09:05:38 -0400 (EDT) Original-Received: from helios.sciencephoto.co.uk (helios.sciencephoto.co.uk [194.200.237.129]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HIF0051XGCYRB@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 22 Jul 2003 09:05:26 -0400 (EDT) Original-Received: from [194.200.237.140] (helo=dione) by helios.sciencephoto.co.uk with esmtp (Exim 3.16 #3) id 19ewsF-00059m-00 for tru64-unix-managers@ornl.gov; Tue, 22 Jul 2003 14:08:11 +0100 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Pegasus Mail for Windows (v4.02a) Content-description: Mail message body Priority: normal Xref: main.gmane.org gmane.os.tru64.managers:4903 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4903 Hi Managers, TRU64 5.1 I have tried to redirect the output from cron to /dev/null for a couple of jobs that run frequently during the day. I can't seem to get it to work and I am being bombarded with mails that are of no use. I have tried the following in the root crontab: chown -R images /images/hires/*.jpg >& /dev/null chown -R images /images/hires/*.jpg /dev/null 2>&1 Neither have worked. I am still getting the following message when there is no file to chown. Is there some way to avoid this? Thanx. Dp. chown: /images/hires/*.jpg: No such file or directory ************************************************* Cron: The previous message is the standard output and standard error of the following crontab command: chown -R images /usr2/images/dump_hires/*.jpg /dev/null 2>&1