[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] How can the Condor job ID be obtained?
- Date: Thu, 10 Feb 2005 18:32:22 +0000
- From: Matt Hope <matthew.hope@xxxxxxxxx>
- Subject: Re: [Condor-users] How can the Condor job ID be obtained?
On Thu, 10 Feb 2005 10:07:10 -0800 (PST), Corina Stratan
> I read in the Condor manual that there are some
> environment variables (like CONDOR_SCRATCH_DIR and
> CONDOR_VM) that Condor makes available to the job. Is
> there such an environment variable that contains the
> Condor job ID? Or is there any other way to get the
> job ID?
no env variable as standard but there is another way with the predefined macros
include it the environment with (for example)
environment = CONDOR_ID=$(Cluster).$(Process)
include it as a command line parameter buy doing (for example)
arguments = --foo bar --condor-cluster=$(Cluster) --condor-process $(Process)