tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Dermot Paikkos <dermot@sciencephoto.com>
Subject: cron output redirection
Date: Tue, 22 Jul 2003 14:08:38 +0100	[thread overview]
Message-ID: <3F1D4566.27452.638C6AD@localhost> (raw)

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



                 reply	other threads:[~2003-07-22 13:08 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