[illumos-Developer] webrev: 374 cron should send more useful mail

Joshua M. Clulow josh at sysmgr.org
Mon Oct 25 04:34:01 PDT 2010


> We can now accept crontab entries like this:
>
>   MAIL_SUBJECT=Not the BEES
>   * * * * * date
>
> Also, an empty MAIL_SUBJECT= will cause crontab to error out when saving.

I did a little more testing and realised that MAIL_SUBJECT= was
applying to every crontab entry after its definition.  I've made a
minor change so that only applies to the *next* crontab entry and is
then reset to the default behaviour.

Hopefully the last webrev:
  http://cr.illumos.org/view/bshjfk9z/

-- 
Joshua M. Clulow
UNIX Admin/Developer
http://blog.sysmgr.org



More information about the Developer mailing list