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

Re: [Condor-users] condor_status and strings

Hi All

I got it to work in the end - it was a typo...

The next 4 commands work very nicely

condor_status -constraint "CondorVersion == \"$CondorVersion: 6.6.2 Mar 17 2004
condor_status -constraint "CondorVersion == \"$CondorVersion: 6.6.9 Mar 10 2005
condor_status -constraint "CondorVersion == \"$CondorVersion: 6.6.10 Jun 22
2005 $\""
condor_status -constraint "CondorVersion == \"$CondorVersion: 6.6.11 Mar 23
2006 $\""

Meaning I can find out which boxes need upgrading...

I did try this however first from Erik which is also quite useful

condor_status -format "%s\t" CondorVersion -format "%s\n" Name

Thanks again



James Osborne
High End Computing Support Engineer
Information Services, Cardiff University, 50 Park Place, Cardiff CF10 3AT,
Wales UK
Tel: +44(0)29 2087 4657
Fax: +44(0)29 2087 4285
Email: osborneja1@xxxxxxxxxxxxx 
Web: http://www.cardiff.ac.uk/insrv/condor

>>> ICHESAL@xxxxxxxxxx 21/06/2006 15:18 >>>
> it's probably something to do with the Windows shell...

Definitely to do with the cmd shell. Try:

condor_status -const "CondorVersion == \"$CondorVersion: 6.7.12 Sep 24
2005 $\""

Note the space between the 2005 and the last $. I tried that in a cmd
shell and it worked.

- Ian

Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at either