Hey, list,

You may remember me asking previously about how to get cron to mail me
the output of esync, which is working fine.... so fine, in fact, that I
think I'll take Neil's recent suggestion of putting revdep-rebuild -p in
cron.weekly and having that output mailed to me as well.

So atm, my cron jobs mail me the output of esync and glsa-check (and
shortly revdep-rebuild -p). But there's also a default cron job that
runs daily...

test -x /usr/sbin/run-crons && /usr/sbin/run-crons

Now, I want this job to run, but I really don't need the input mailed to
me, especially if this is what it is (and this *is* what it is):

> !!! aux_get(): ebuild path for 'app-misc/FileRunner-2.5.1' not specified:
> !!!            None
> Building database from scratch ..
> Reading Portage settings ..
> Using eix database in /var/cache/eix
> Using portage cache: /usr/portage/
> Reading cache for main tree:   
> 0%000%001%002%002%003%004%005%005%006%007%008%008%009%010%010%011%012%013%013%014%015%016%016%017%018%018%019%020%021%021%022%023%024%024%025%026%027%027%028%029%029%030%031%032%032%033%034%035%035%036%037%037%038%039%040%040%041%042%043%043%044%045%045%046%047%048%048%049%050%051%051%052%053%054%054%055%056%056%057%058%059%059%060%061%062%062%063%064%064%065%066%067%067%068%069%070%070%071%072%072%073%074%075%075%076%077%078%078%079%080%081%081%082%083%083%084%085%086%086%
087%0
> Reading overlays ..
> /usr/local/portage/   
> 0%000%001%002%002%003%004%005%005%006%007%008%008%009%010%010%011%012%013%013%014%015%016%016%017%018%018%019%020%021%021%022%023%024%024%025%026%027%027%028%029%029%030%031%032%032%033%034%035%035%036%037%037%038%039%040%040%041%042%043%043%044%045%045%046%047%048%048%049%050%051%051%052%053%054%054%055%056%056%057%058%059%059%060%061%062%062%063%064%064%065%066%067%067%068%069%070%070%071%072%072%073%074%075%075%076%077%078%078%079%080%081%081%082%083%083%084%085%086%086%087%
088%08
> /usr/local/bmg-main/   
> 0%000%001%002%002%003%004%005%005%006%007%008%008%009%010%010%011%012%013%013%014%015%016%016%017%018%018%019%020%021%021%022%023%024%024%025%026%027%027%028%029%029%030%031%032%032%033%034%035%035%036%037%037%038%039%040%040%041%042%043%043%044%045%045%046%047%048%048%049%050%051%051%052%053%054%054%055%056%056%057%058%059%059%060%061%062%062%063%064%064%065%066%067%067%068%069%070%070%071%072%072%073%074%075%075%076%077%078%078%079%080%081%081%082%083%083%084%085%086%086%087%
088%0
> Applying masks ..
> Database contains 9542 packages in 137 categories.

Woo-hoo. The only error in this I know about (just haven't fixed it yet,
but since it's why I can't even install the program, I know that
particular ebuild is broken), and the rest of the output is pretty
non-informative/useless.

Is there any way to *not* receive mail from specific cron jobs, while
leaving the rest of the mails intact? I looked at man cron and man
crontab, but they seemed to indicate that it's kind of an all-or-nothing
deal.

Alternatively, since the output cron jobs are being mailed via a mail -s
command in the scripts themselves, can I/should I just put a dummy user
in cron's 'normal' mailto slot, so that the "other" mail essentially
goes to /dev/null?

It's not a big problem now, but I can see how, as I learn more about
cron and add more jobs for the daemon to run, it could get to be.

What I'd *really* like is the output from the jobs that I've set to mail
me output, and a summary of names of any other jobs that ran
successfully, just so I know that they ran successfully. But I don't
think cron does that... does it?

Thanks for any help,
Holly
-- 
[email protected] mailing list

Reply via email to