[gridengine users] Modifying headers in email sent by SGE

Reuti reuti at Staff.Uni-Marburg.DE
Wed Jun 15 20:10:39 UTC 2011


Hi,

Am 15.06.2011 um 22:01 schrieb Gowtham:

> We are using Rocks 5.4 (with CentOS 5.5) and have
> SGE 6.2u5 as queing system. For informative (and to an extent, decorative) purposes, we would like to modify
> the headers of emails sent out by SGE.
> 
> I have checked the mailing list and tried the approach
> given in
> 
>  http://gridengine.markmail.org/search/?q=sge+mail+header+ben#query:sge%20mail%20header%20ben+page:1+mid:g3ovaeqfpyqmmyqt+state:results
> 
> but it didn't seem to do the trick.

what did you supply in detail as script - it's available (accessible) on all nodes?

-- Reuti


> 
> ************* What it is now *************
> 
> Date: Wed, 15 Jun 2011 15:42:55 -0400 (EDT)
> From: root <root at local>
> To: john at mtu.edu
> Subject: Job 36 (hello_world.sh) Complete
> 
> Job 36 (hello_world.sh) Complete
> User             = john
> Queue            = all.q at compute-0-1.local
> Host             = compute-0-1.local
> Start Time       = 06/15/2011 15:42:54
> End Time         = 06/15/2011 15:42:56
> User Time        = 00:00:00
> System Time      = 00:00:00
> Wallclock Time   = 00:00:00
> CPU              = 00:00:00
> Max vmem         = NA
> Exit Status      = 0
> 
> 
> ************* What we would like to see *************
> 
> Date: Wed, 15 Jun 2011 15:42:55 -0400 (EDT)
> From: SGE Admin <DoNotReply at mtu.edu>
> To: john at mtu.edu
> Subject: pauli.csa - Job 36 (hello_world.sh) Complete
> 
> Job 36 (hello_world.sh) Complete
> User             = john
> Queue            = all.q at compute-0-1.local
> Host             = compute-0-1.local
> Start Time       = 06/15/2011 15:42:54
> End Time         = 06/15/2011 15:42:56
> User Time        = 00:00:00
> System Time      = 00:00:00
> Wallclock Time   = 00:00:00
> CPU              = 00:00:00
> Max vmem         = NA
> Exit Status      = 0
> 
> 
> Please do not reply to this email.
> 
> *****************************************************
> 
> 
> If you could share any other trick or script or wrapper that will accomplish this, it'd be awesome.
> 
> Best regards,
> g
> 
> --
> Gowtham
> Advanced IT Research Support
> Michigan Technological University
> _______________________________________________
> users mailing list
> users at gridengine.org
> https://gridengine.org/mailman/listinfo/users





More information about the users mailing list