Ressourcen für IT-Professionals > Forenhomepage > Windows HPC Server Developers - General > Get-HpcJob returns null StartTime for Cancelled jobs
Stellen Sie eine FrageStellen Sie eine Frage
 

BeantwortetGet-HpcJob returns null StartTime for Cancelled jobs

  • Montag, 22. Juni 2009 17:47willvv TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    Hi

    I'm trying to retrieve the job information from a cluster and I'm seeing this behavior.

    If I get the information of the jobs using Get-HpcJobHistory, it returns a Collection with HpcJobHistory objects (one for each job in the given dates), the submit date for these objects is set, if the Job was cancelled it also returns a StartTime (so far I've seen that this date is the same as the EndTime).

    If I get the information for the same job using the Get-HpcJob, I get a HpcJob object, but if the job was cancelled, the value for StartTime is null.

    My questions are:

    Is this the expected behavior?
    Can I be sure that the value is always the same as the EndTime?

    Thanks a lot

Antworten

  • Dienstag, 23. Juni 2009 02:24Zhen WEI MSFT TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet
    Hi, Willvv, sorry for the confusion to have 2 different StartTime, but I think it's not safe to have that assumption. Can you just ignore StartTime when a job is canceled?
    • Als Antwort markiertwillvv Dienstag, 23. Juni 2009 03:20
    •  

Alle Antworten