On 11/04/2011 17:40, Erik Erlandson wrote:
Yes, those work. But how can I use that _expression_ to construct a query string? e.g. if I want to query the jobs that finished this month, regardless of their JobStatus, doing this simply doesn't work. Dong this:condor_history -c 'formatTime('ifThenElse(JobStatus == 4, CompletionDate, EnteredCurrentStatus)', "%m") == "04"' should do the job but I think former one is better and more accurate(??).condor_history -c 'formatTime(CompletionDate, "%m") == "04" || formatTime(EnteredCurrentStatus, "%m") == "04"' -Santanu Erik |