[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Questions about DAGMAN jobs & How to setup notification to other users in DAGMAN jobs?



On Wed, 22 Jul 2009, Alas, Alex [FEDI] wrote:

Thanks for your answer Kent, I ran my dag job using your suggestion and
it seems to work fine. But I have an question here, you said in case I
want to notify multiple users I need to create a final node that will
send the notifications. How do you do that?

Just add another node to your DAG, and make that node a child of the final node or nodes that you already have. Then the "notification" node can just run a script that emails the notification to whoever you want. (Note that this won't work quite the same as the normal Condor notification, because the email will only be sent if the DAG succeeds.) (We've actually talked about, but not yet implemented, an option to have a special "cleanup" node that gets run at the end if the DAG fails. That would make it possible to have multiple notifications sent if the DAG fails.)

I am not a newbie in condor but I am not an expert neither and this
DAGMAN topic is completely new to me. Maybe if you have some spare to
time, would you be  kind enough to share that knowledge or maybe you can
point me to a document that explains how to do that?

Hopefully the above note makes sense...

Concerning the question about the Rescue DAG, after reading the manual
around 5 times I got it... thanks for your explanation as well on that
toping

Hmm -- maybe that means we need to clarify that part of the manual. I know it was one of the more difficult parts to write. Any suggestions on how to make this clearer?

Kent Wenger
Condor Team