[illumos-Developer] webrev: 374 cron should send more useful mail
Peter Tribble
peter.tribble at gmail.com
Tue Oct 26 04:18:38 PDT 2010
On Mon, Oct 25, 2010 at 12:34 PM, Joshua M. Clulow <josh at sysmgr.org> wrote:
>> 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.
That seems reasonable. It's slightly different to the other variables,
but the revised behaviour seems to be the one I would expect.
Thanks for taking this on!
--
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
More information about the Developer
mailing list