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

Re: [HTCondor-users] reading classads in a job



Great, thanks!

Suchandra Thapa
sthapa@xxxxxxxxxxxxxxx
Computation Institute
Searle Chemistry Laboratory #201A
5735 South Ellis Avenue
Chicago, IL 60637


On Thu, May 7, 2015 at 3:11 PM, William Strecker-Kellogg <willsk@xxxxxxx> wrote:
Hi Suchandra,

Within a running job the environment variables $_CONDOR_JOB_AD and
$_CONDOR_MACHINE_AD point to a file in the job's scratch directory where the
classads can be read in a simple text-format.

See:
http://research.cs.wisc.edu/htcondor/manual/v8.3/2_5Submitting_Job.html#2998
for details.

Cheers,
Will

On Thu May 07 2015 14:39:54 Suchandra Thapa wrote:
> Hi,
>
> Is there a way to get access to job classads from within a running job?
> I'd like to query a few classads if possible.
>
> Suchandra
>
> Suchandra Thapa
> sthapa@xxxxxxxxxxxxxxx
> Computation Institute
> Searle Chemistry Laboratory #201A
> 5735 South Ellis Avenue
> Chicago, IL 60637