Skip site navigation (1)Skip section navigation (2)
Date:      26 Nov 2003 12:54:07 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        stuart.gibson@bridgeman.co.uk
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: crontab
Message-ID:  <44ad6jnhhc.fsf@be-well.ilk.org>
In-Reply-To: <3FC4D7D4.11526.C30C22@localhost>
References:  <3FC4D7D4.11526.C30C22@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
stuart.gibson@bridgeman.co.uk writes:

> Is there any way of instructing cron to only email me if the cron job 
> fails?

Mail is only sent if there is output.  Make sure there's no output if
the job succeeds (perhaps by redirecting it) and you'll be all set.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ad6jnhhc.fsf>