News for hackers. Stuff that matters.
Re:Cronic - A cure for Cron's chronic email problem by reidrac on Friday May 25, 2012 @04:36AM (#4022567)
All of them.

cron sends a mail if: a) there's output (stdout or stderr) or b) the command exit code isn't 0.

So I really don't understand the post when it says "Now when your cron job fails, you will never know about it.".

Well, if you script fails and still returns 0, your script is broken. If you script outputs stuff when it's not supposed to, it can't run from cron.

There are no comments on this comment yet.