Export (0) Print
Expand All
Expand Minimize

ISchedulerJob::Runtime property

Retrieves or sets the run-time limit for the job.

This property is read/write.

Syntax


HRESULT put_Runtime(
  [in]   long limit
);

HRESULT get_Runtime(
  [out]  long *pLimit
);

Property value

The run-time limit for the job, in seconds. The default value is 0.

Error codes

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, access the ISchedulerJob::ErrorMessage job property.

Remarks

The wall clock is used to determine the run time. The time is your best guess of how long the job will take; however, it needs to be fairly accurate because it is used to allocate resources. If the job exceeds this time, the job is terminated and its state becomes Canceled.

The sum of all ISchedulerTask::Runtime values for the tasks in the job should be less than the run-time value for the job.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerJob
ISchedulerJob.HasRuntime
ISchedulerJob.RunUntilCanceled
ISchedulerTask.Runtime

 

 

Show:
© 2014 Microsoft