The default mailer for SGE is /usr/bin/mail. There is nothing really stopping you from forgoing the -M and/or the -m options and instead calling /usr/bin/mail or whatever else you like from within your script.
That's what I was trying to indicate before, though I wasn't particularly clear on that point. Much of the customization that you would like can take place within your pipeline scripts and outside of changing the configuration of SGE. John. On Thu, Jul 17, 2014 at 6:20 AM, Paolo Di Tommaso <paolo.ditomm...@gmail.com> wrote: > This looks interesting. Is it possible to override the mailer property at > user level. > > I mean I would like to define my own mailer script without affecting the > other cluster users. > > > Cheers, > Paolo > > > > On Thu, Jul 17, 2014 at 11:48 AM, William Hay <w....@ucl.ac.uk> wrote: >> >> On Wed, 16 Jul 2014 09:30:15 +0000 >> Paolo Di Tommaso <paolo.ditomm...@gmail.com> wrote: >> >> > Hi, >> > >> > SGE can send job notification via email by using the -M command line >> > option. >> > >> > This useful when you are submitting few jobs but not for complex >> > pipeline crunching thousand of jobs. >> > >> > I'm wondering if SGE can send these notifications by using other >> > mechanism e.g. writing to a file, socket, http, etc. >> >> Well the actual mechanism would appear to be calling the command >> defined by mailer in the sge_conf. You could write a script that >> handles this however you want. Making this user (as opposed to admin) >> selectable might be achieved by parsing the information passed to said >> script to find the job id and using that to look up the disposition >> requested by the user somewhere. Be careful to find out who the mailer >> command is run as if you allow users to give it significant direction. >> >> William >> >> _______________________________________________ >> users mailing list >> users@gridengine.org >> https://gridengine.org/mailman/listinfo/users >> > > > _______________________________________________ > users mailing list > users@gridengine.org > https://gridengine.org/mailman/listinfo/users > _______________________________________________ users mailing list users@gridengine.org https://gridengine.org/mailman/listinfo/users