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

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

On 11/04/11 15:53, Erik Erlandson wrote:
On Mon, 2011-04-11 at 11:46 +0100, Santanu Das wrote:
Hi Erik et al,

Is there any difference (if at all) between 'CompletionDate' and 
'EnteredCurrentStatus' for successfully finished jobs (i.e. JobStatus == 
4)? All I want to know if 'EnteredCurrentStatus' can be used in place of 
'CompletionDate' for the jobs finished successfully.

Hi Santanu,
I would suggest using an _expression_, such as:   'ifThenElse(CompletionDate =!= undefined, CompletionDate, EnteredCurrentStatus)'

so, you mean 'CompletionDate == 0' is equivalent to  'CompletionDate == undefined'?
There is always a CompletionDate date but it's 0 for the failed/removed/canceled jobs.