You can submit a job that has a hold placed on it based on your
pipeline, whose only purpose is to email you when your pipeline
finishes.

qsub -m e -M <user-email> -hold_jid $(qsub -terse pipeline_job) completion_job

or, with an array job, which submits job ids as
<jobid>.1-<array_size>:?, you can hold on the whole array job

qsub -m e -M <user-email> -hold_jid $(qsub -terse -t 1-<pipeline #>
pipeline_job | cut -d'.' -f1) completion_job

I often do clean up and check for error files in the completion_job.

  John.

On Wed, Jul 16, 2014 at 6:05 AM, Paolo Di Tommaso
<paolo.ditomm...@gmail.com> wrote:
> Hi Txema,
>
> My point is not to disable them but how to get the notification by using a
> different "transport" other than email. I would like that information to a
> file or a socket.
>
> p
>
>
> On Wed, Jul 16, 2014 at 11:55 AM, Txema Heredia <txema.llis...@gmail.com>
> wrote:
>>
>> Hi Paolo,
>>
>> you can disable mails on all but the very last job of the pipeline by
>> using -m b|e|a|s|n.
>>
>> There has been discussions on the list on mechanisms to send all emails to
>> the local linux user (not an email address) and send "packages of mails"
>> every day or so, but I can't remember any definitive way to work this out.
>>
>> Txema
>>
>> El 16/07/14 11:30, Paolo Di Tommaso escribió:
>>
>> 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.
>>
>>
>> Thanks,
>> Paolo
>>
>>
>>
>> _______________________________________________
>> 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
>

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

Reply via email to