none
change priority failed for queued job through api RRS feed

  • Question

  • 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.

    Friday, May 14, 2010 7:19 AM

Answers