change priority failed for queued job through api

回答済み change priority failed for queued job through api

  • 2010年5月14日 7:19
     
     

    Hi experts,

    I try to change priority for queued job through api, but get an exception that is "The property Priority cannot be set when the job is in state Queued.".

                ISchedulerJob job = _scheduler.OpenJob(m_iJobId);
                job.Priority = jobPriority;
                job.Commit();

    However by HPC Cluster Manager, i can change the priority for queued jobs.

    Does anyone know why?

    thanks first.

すべての返信