Retrieves or sets the run-time limit for the job.
This property is read/write.
HRESULT put_Runtime( [in] long limit ); HRESULT get_Runtime( [out] long *pLimit );
The run-time limit for the job, in seconds. The default value is 0.
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.
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.
HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities