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

Re: [Condor-users] condor_status with -format options



Anthony,

> Thank you for your response.  I fixed most of the problems by
> following your example and looking at the Class Ads (using the
> -verbose flag).  I do have one other question.  ActivityTime does
> not appear in the Class Ads, so it is ignored when I try to use the
> format flag with that field.
> 
> How do I "format" this field?

If you have a recent enough version of Condor you can do this:

-format "%s\n" "interval(LastHeardFrom - EnteredCurrentActivity)"

Try it and see.

-- 
Daniel K. Forrest	Laboratory for Molecular and
forrest@xxxxxxxxxxxxx	Computational Genomics
(608) 262 - 9479	University of Wisconsin, Madison