On Thu, 10 Feb 2005 10:07:10 -0800 (PST), Corina Stratan
<corina_stratan@xxxxxxxxx> wrote:
> Hi,
>
> 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)
Matt
|