Hi,

Am 14.10.2014 um 05:35 schrieb Tiago Mück:

> I recently had issues with thousands email notifications being triggered by a 
> large job array. There was a solution proposed in this thread:
> 
> http://gridengine.org/pipermail/users/2014-June/007698.html
> 
> but using a follow-up job doesn't seem transparent to end user. Is there a 
> way to make to make this fully transparent to the user base ? Even is it is 
> as simple as fully disabling notifications for job arrays ?

To disable mails for all array jobs you can check in the mail wrapper:

#!/bin/sh
if [ $(echo "$2" | cut -d " " -f 1) = "Job" ]; then
    mail -s "$2" "$3"
fi

The subject would read "Job-array" in case of an array job.

-- Reuti
_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to