#include <work_queue.h>
This structure should only be created with work_queue_task_create and delete with work_queue_task_delete. You may examine (but not modify) this structure once a task has completed.
Data Fields | |
char * | tag |
The user-defined description of the task. | |
char * | command |
The command line to execute. | |
char * | output |
The standard output of the task. | |
task_file * | input_files |
The input files to send to the task. | |
int | num_inputs |
The number of input files to send. | |
char * | output_files |
The output files to retrieve from the task. | |
int | result |
The exit code of the command line. | |
int | taskid |
A unique task id number. | |
int | priority |
The relative priority of the job, higher is better. | |
char | host [32] |
The name of the host on which it ran. | |
timestamp_t | start_time |
The time at which the task began. | |
timestamp_t | finish_time |
The time at which it completed. |
|
The user-defined description of the task.
|
|
The command line to execute.
|
|
The standard output of the task.
|
|
The input files to send to the task.
|
|
The number of input files to send.
|
|
The output files to retrieve from the task.
|
|
The exit code of the command line.
|
|
A unique task id number.
|
|
The relative priority of the job, higher is better.
|
|
The name of the host on which it ran.
|
|
The time at which the task began.
|
|
The time at which it completed.
|