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

Re: [Condor-users] Using the value returned by an external program in a MACRO

On 6/27/05, Sumanth J.V <sumanth@xxxxxxxxxxx> wrote:
> Isnt there anyway to do something like backquoting in BASH for eg.
> temperature = `/usr/local/bin/temp.sh` ?

Export TEMPERATURE=`/usr/local/bin/temp.sh`

But this will simply get it into the environment (and not the
environment of the startds either).

if you are on unix then hawkeye id the 'standard' condor way to get
monitored information into condor classads. you will find going with
the flow on this makes your life easier after the initial hassle of
setting it up...