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

Re: [Condor-users] end-time for failed jobs




condor_history -c 'formatTime('ifThenElse(JobStatus == 4, CompletionDate, EnteredCurrentStatus)', "%m") == "04"'

The above probably failed to parse, because it has an extra pair of quotes.   This will work:

condor_history -c 'formatTime(ifThenElse(JobStatus =?= 4, CompletionDate, EnteredCurrentStatus), "%Y%m") >= "201104"'

-Erik