help-gnubatch
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-gnubatch] Job failure emails


From: andrew warshaver
Subject: Re: [help-gnubatch] Job failure emails
Date: Fri, 28 Oct 2011 20:37:14 -0400

Hi Steve

Yes, add this to your conf (/usr/local/etc/gnubatch.conf for global)
MAILER:/usr/local/bin/my-gbch-mailer

I think the job name is the first line of stdin iirc.

Only way I know to query is gbch-jlist | grep Err
You could create an error variable for each job and flag it when it is reported.

Andrew

On Oct 28, 2011 5:29 PM, "Wechsler, Steven" <address@hidden> wrote:

Is there any way of changing the format/recipient of the emails that are sent out after a job fails? For example, it might be nice to have the output of the failed job, redirect it to a pager alias, or at least have a subject with the job name.

 

Barring that, is there an easy way to query for failed jobs, and keep track of which ones have already been seen in the past?

 

Steve Wechsler
Senior Database Administrator

Viacom Media Networks

+212 846 5683

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]