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

Joshua M. Clulow josh at sysmgr.org
Mon Oct 25 15:51:07 PDT 2010


On Tue, Oct 26, 2010 at 9:40 AM, Joshua M. Clulow <josh at sysmgr.org> wrote:
> On Tue, Oct 26, 2010 at 1:40 AM, Alan Coopersmith
> <alan.coopersmith at oracle.com> wrote:
>> Gordon Ross wrote:
>>> Or is there some other field that could reliably be used
>>> to filter any/all messages from cron jobs?
> We could use "X-Mailer" -- it's mentioned in the RFC and I believe
> it's in common use but it isn't any kind of standard.

I was thinking while I'm doing this I may as well make up some extra
headers as well... is anybody opposed to:

  X-Cron-User: leftwing
  X-Cron-Host: thor
  X-Cron-Job-Name: command OR at job number
  X-Cron-Job-Type: cron OR at

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



More information about the Developer mailing list