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

Re: [Condor-users] [?????]



> Using the Condor 6.8/6.9 ClassAd functions, you can get the exact
> value that is printed in condor_status with:
>
> -format '%s\n' 'interval(LastHeardFrom - EnteredCurrentActivity)'
> 
> Or unformatted as:
> 
> -format '%d\n' '(LastHeardFrom - EnteredCurrentActivity)'
> 
> You can also use '(LastHeardFrom - EnteredCurrentActivity)' in any
> constraint expression, or isn't this sufficient?

This is fantastic! I had no idea you could do math on attributes when
using the -f option.

Thanks!

- Ian