Re: How to stop a cron job sending email
- From: Johann Spies <jspies@xxxxxxxxx>
- Date: Fri, 31 Oct 2008 14:07:56 +0200
On Fri, Oct 31, 2008 at 10:58:59AM +0000, Chris Rees wrote:
The actual redirect should be 2>&1
From 'man bash'
Redirecting Standard Output and Standard Error
Bash allows both the standard output (file descriptor 1) and
the standard error output (file descriptor 2) to be redirected
to the file whose name is the expansion of word with this construct.
There are two formats for redirecting standard output and
standard error:
&>word
and
>&word
Of the two forms, the first is preferred. This is semantically
equivalent to
>word 2>&1
Regards
Johann
--
Johann Spies Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch
"Bless the LORD, O my soul, and forget not all his
benefits: Who forgiveth all thine iniquities; who
healeth all thy diseases; Who redeemeth thy life from
destruction; who crowneth thee with lovingkindness and
tender mercies; Who satisfieth thy mouth with good
things; so that thy youth is renewed like the
eagle's." Psalms 103:2-5
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: How to stop a cron job sending email
- From: Cameron Hutchison
- Re: How to stop a cron job sending email
- References:
- How to stop a cron job sending email
- From: Johann Spies
- Re: How to stop a cron job sending email
- From: Chris Rees
- Re: How to stop a cron job sending email
- From: Chris Rees
- How to stop a cron job sending email
- Prev by Date: Re: Integrity changes from other Linux
- Next by Date: Re: How to stop a cron job sending email
- Previous by thread: Re: How to stop a cron job sending email
- Next by thread: Re: How to stop a cron job sending email
- Index(es):
Relevant Pages
|