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

Re: [HTCondor-users] monitor for dagman job to finish



Hi Jiande

Pegasus ( sits on top of HTCondor DAGMan http://pegasus.isi.edu ) and has a notification model that might be what you are looking for.

http://pegasus.isi.edu/wms/docs/latest/reference.php#notifications

There is a notification example that you can try out
http://pegasus.isi.edu/wms/docs/latest/example_workflows.php#notifications_example

Karan

On Apr 29, 2014, at 3:57 PM, Jiande Wang <jiande.wang@xxxxxxxx> wrote:

> Thanks for your suggestion.
> My purpose is for running real time operational job. So once the dagman job is launched, I need to get some kind of signal inside shell script (like return code in unix shell) to know that the whole set of job inside dagman is finished, so that I can do some error checking step for my executable and run script. Email notification method does not fit my purpose for security reason in the place I am working.
> 
> Jiande
> On Apr 29, 2014, at 3:38 PM, Ben Cotton <ben.cotton@xxxxxxxxxxxxxxxxxx> wrote:
> 
>> On Tue, Apr 29, 2014 at 3:14 PM, Jiande Wang <jiande.wang@xxxxxxxx> wrote:
>> 
>>>  I want to know if there is any tool that can be used to monitor the
>>> status of dagman job.
>> That depends on what you're looking for. If you just want notification
>> of completion, the notification command should work. Try passing
>> '-notification complete' to condor_submit_dag to receive an email when
>> the DAG completes. See:
>> 
>> http://research.cs.wisc.edu/htcondor/manual/v8.0/condor_submit_dag.html
>> http://research.cs.wisc.edu/htcondor/manual/v8.0/condor_submit.html
>> 
>> 
>> Thanks,
>> BC
>> 
>> -- 
>> Ben Cotton
>> main: 888.292.5320
>> 
>> Cycle Computing
>> Leader in Utility HPC Software
>> 
>> http://www.cyclecomputing.com
>> twitter: @cyclecomputing
>> _______________________________________________
>> HTCondor-users mailing list
>> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
>> subject: Unsubscribe
>> You can also unsubscribe by visiting
>> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>> 
>> The archives can be found at:
>> https://lists.cs.wisc.edu/archive/htcondor-users/
> 
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/