On 1/3/15 1:05 PM, Fred wrote:

man 5 crontab not man 1 crontab
:~)

No, the behavior he described is accurate: cron(8) sends email if a job
produced output, irrespective of its exit status.

Google is littered with people trying to figure out how to get cron(8)
to send email based on exit code... so it's certainly a common problem.
Maybe some Unix decided to send email based on exit status, but
OpenBSD's does not.
--
 Matthew Weigel
 hacker
 unique & idempot . ent

Reply via email to