ICluster.RequeueJob Method
Queues the specified job again.
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
Usage
Syntax
'Declaration
Sub RequeueJob ( _
jobId As Integer _
)
void RequeueJob (
int jobId
)
void RequeueJob (
int jobId
)
void RequeueJob (
int jobId
)
function RequeueJob (
jobId : int
)
Parameters
- jobId
The job identifier. The ICluster.AddJob method returns this value. If you have an instance of the job that has already been added to the cluster, you can access the IJob.Id property to get the identifier.
Remarks
Typically, you call this method if tasks in the job have failed, you fixed the cause of the failure, and you want to try running the tasks again. Note that to restart a job, all tasks in the job must have the ITask.IsRerunnable property set to true. Canceled tasks are not rerun; only failed tasks are rerun. To rerun canceled tasks, you must call the ICluster.RequeueTask method.
If you call this method while tasks are running, the tasks are canceled. You cannot call this method for a completed job.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP
Target Platforms
Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities
See Also
Reference
ICluster Interface
ICluster Members
Microsoft.ComputeCluster Namespace
RequeueJobs
RequeueTask