Skip to Main Content Skip to Search
Product Documentation

getJobSchedulerData - Get specific user data for job on generic scheduler

Syntax

userdata = getJobSchedulerData(sched, job)

Arguments

userdata

Information that was previously stored for this job.

sched

Scheduler object identifying the generic third-party scheduler running the job.

job

Job object identifying the job for which to retrieve data.

Description

userdata = getJobSchedulerData(sched, job) returns data stored for the job job that was derived from the generic scheduler sched. The information was originally stored with the function setJobSchedulerData. For example, it might be useful to store the third-party scheduler's external ID for this job, so that the function specified in GetJobStateFcn can later query the scheduler about the state of the job.

To use this feature, you should call the function setJobSchedulerData in the submit function (identified by the SubmitFcn property) and call getJobSchedulerData in any of the functions identified by the properties GetJobStateFcn, DestroyJobFcn, DestroyTaskFcn, CancelJobFcn, or CancelTaskFcn.

For more information and examples on using these functions and properties, see Manage Jobs with Generic Scheduler.

See Also

setJobSchedulerData

  


Free Parallel Computing Interactive Kit

See how to solve large problems with minimal effort and reduce simulation time.

Get free kit

Trials Available

Try the latest versions of parallel computing products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS