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

[Condor-users] Interrogating the job ClassAd on execute machines



Hi everyone -

	I would like to be able to easily interrogate the job ClassAd of
the job running on an execute machine from that same execute machine.  (I
have a wrapper script which wants to do different things depending on the
attributes in the ClassAd.)  My question is: how can I get at the job's
ClassAd - obviously some Condor process on the execute machine must
receive it, but it is stored anywhere?  Can I directly interrogate it? 
	The only way I've found to do it is by putting the ClassAd
attributes in which I'm interested in STARTD_JOB_EXPRS and then using
    condor_status -startd -direct <hostname> -format <fmt> <attr>
Is there another/a better way?

	Thanks,

	  Bruce

--
Bruce Beckles,
e-Science Specialist,
University of Cambridge Computing Service.