[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

Isnt there anyway to do something like backquoting in BASH for eg. temperature = `/usr/local/bin/temp.sh` ?

On Jun 27, 2005, at 5:19 AM, Matt Hope wrote:

On 6/27/05, Sumanth J.V <sumanth@xxxxxxxxxxx> wrote:

Is it possible to use the value written to stdout by an external
script/program to define a macro in the condor_config file? For example
if I have a script /usr/local/bin/temp.sh that prints out the current
CPU temperature to stdout can I use this value to define a macro and use
that macro to construct the START expresstion for startd?

you may wish to look at hawkeye



Condor-users mailing list