Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines the task status constants.
Syntax
typedef enum {
TaskStatus_NotSubmitted = 0,
TaskStatus_Queued = 1,
TaskStatus_Running = 2,
TaskStatus_Finished = 3,
TaskStatus_Failed = 4,
TaskStatus_Cancelled = 5
} TaskStatus;
Constants
TaskStatus_NotSubmitted
The parent job was added to the cluster but not to the scheduling queue.TaskStatus_Queued
The parent job was added to the scheduling queue.TaskStatus_Running
The task is running.TaskStatus_Finished
The task successfully finished.TaskStatus_Failed
The task failed due to an application error or a system error that occurred on the compute node. To get a description of the error, call the ITask::get_ErrorMessage method.TaskStatus_Cancelled
The task was canceled by the application. The application called the ICluster::CancelTask or ICluster::CancelTasks method to cancel the task. If the caller provided the reason for canceling the job, then the ITask::get_ErrorMessage method will contain that reason.
Requirements
Product |
Compute Cluster Pack Client Utilities |
Type library |
Ccpapi.tlb |