$where = "AND JobStatus = 'T' ";
$label = "Completed";
break;
- case 'completed_errors':
- $where = "AND JobStatus = 'E' ";
- $label = "Completed with errors";
+ case 'terminated_errors':
+ $where = $interval_where . "JobStatus = 'E' ";
+ $label = "Terminated with errors";
break;
case 'failed':
$where = "AND JobStatus = 'f' ";
// Last 24 hours Job status graph
$data = array();
-$status = array( 'completed', 'completed_errors', 'failed', 'waiting', 'created', 'running', 'error' );
+$status = array( 'completed', 'terminated_errors', 'failed', 'waiting', 'created', 'running', 'error' );
foreach( $status as $job_status ) {
array_push( $data, $dbSql->GetJobsStatistics( $job_status ) );