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

Re: [Condor-users] DAG POST script classad introspection




On 2/25/10 12:08 PM, R. Kent Wenger wrote:
> Here's what to do:
>
>   Job foo foo.sub
>   Script Post foo foo.post $JOB $JOBID
>
> ($JOB is the DAG node name, and $JOBID is the Condor ID for the job.)
>
> in foo.post:
>
>   (get jobname and jobid from command-line arguments)
>   condor_history -l $jobid > $jobname.$jobid.snapshot.ca

Perfect.  Thanks.

Ian
begin:vcard
fn:Ian Stokes-Rees, PhD
n:Stokes-Rees;Ian
org:Harvard Medical School;Biological Chemistry and Molecular Pharmacology
adr;dom:;;250 Longwood Ave;Boston;MA;02115
email;internet:ijstokes@xxxxxxxxxxxxxxxxxxx
title:Research Associate, Sliz Lab
tel;work:+1 617 432-5608 x75
tel;fax:+1 617 432-5600
tel;cell:+1 617 331-5993
url:http://hkl.hms.harvard.edu
version:2.1
end:vcard