Is there an environment variable or a condor variable (that can go in a
DAG) that would allow my post script to get a snapshot of the job classad?
I am submitting a DAG using the templating mechanism, and in situations
where the DAG node POST script identifies a problem, it would be nice if
it could grab a snapshot of the job classad at that point, which has
been constructed from a parameterized classad template and a VARS entry
for the node in the DAG definition file.
Ideally my POST script would be able to do something like:
condor_q -l $DAG_NODE_JOB_ID >
${DAG_NODE_NAME}.${DAG_NODE_JOB_ID}.snapshot.ca