What | Removed | Added |
---|---|---|
Flags | needinfo?(devel@fresse.org) |
Mail delivery is set up and works. As Per Jessen suggests commands producing output will result in a mail from cron. I'm particularly annoyed about the line in crontab(5): In addition to LOGNAME, HOME, and SHELL, cron(8) looks at the MAILTO variable if a mail needs to be send as a result of running any commands in that particular crontab. Nowhere in the manpage is clarified what "if a mail needs to be sent" actually means. I had to resort to the source code and to my surprise, Per Jessen is right. Other crons and systems get it right, fcron clearly documents that mails for scripts terminating with rc != 0 are sent. HP-UX's cron sends a mail every time with the rc value, regardless of output and "warns" about the fact that any output by the script is included.