crontab

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed Nov 26 09:54:08 PST 2003


stuart.gibson at 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.


More information about the freebsd-questions mailing list