[gridengine users] Modifying headers in email sent by SGE
Gowtham
sgowtham at mtu.edu
Wed Jun 15 20:01:08 UTC 2011
Dear all,
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 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
More information about the users
mailing list