Promote job in MJS cluster queue
If job is not the first job in the queue, promote exchanges the position of job and the previous job.
Create and submit multiple jobs to the cluster identified by the default cluster profile, assuming that the default cluster profile uses an MJS:
c = parcluster(); j1 = createJob(c,'name','Job A'); j2 = createJob(c,'name','Job B'); j3 = createJob(c,'name','Job C'); submit(j1);submit(j2);submit(j3);
Promote Job C by one position in its queue:
Examine the new queue sequence:
[pjobs, qjobs, rjobs, fjobs] = findJob(c); get(qjobs, 'Name') 'Job A' 'Job C' 'Job B'