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@local>
To: [email protected]
Subject: Job 36 (hello_world.sh) Complete

Job 36 (hello_world.sh) Complete
 User             = john
 Queue            = [email protected]
 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 <[email protected]>
To: [email protected]
Subject: pauli.csa - Job 36 (hello_world.sh) Complete

Job 36 (hello_world.sh) Complete
 User             = john
 Queue            = [email protected]
 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
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to