From 39c06cfdb1214ea7b83b2693f3b3f91bed76a146 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Fri, 27 May 2011 18:33:40 +0200 Subject: [PATCH] bacula-web: Added job status code constant --- gui/bacula-web/config.inc.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gui/bacula-web/config.inc.php b/gui/bacula-web/config.inc.php index 800538e646..2d9b146007 100644 --- a/gui/bacula-web/config.inc.php +++ b/gui/bacula-web/config.inc.php @@ -28,4 +28,24 @@ define( 'LAST_WEEK', 604800 ); define( 'LAST_MONTH', 2678400 ); define( 'ALL', -1 ); + + // Job status code + define( 'J_NOT_RUNNING', 'C' ); + define( 'J_RUNNING', 'R' ); + define( 'J_BLOCKED', 'B' ); + define( 'J_COMPLETED', 'T' ); + define( 'J_COMPLETED_ERROR', 'E' ); + define( 'J_NO_FATAL_ERROR', 'e' ); + define( 'J_FATAL', 'f' ); + define( 'J_CANCELED', 'A' ); + define( 'J_WAITING_CLIENT', 'F' ); + define( 'J_WAITING_SD', 'S' ); + define( 'J_WAITING_NEW_MEDIA', 'm' ); + define( 'J_WAITING_MOUNT_MEDIA', 'M' ); + define( 'J_WAITING_STORAGE_RES', 's' ); + define( 'J_WAITING_JOB_RES', 'j' ); + define( 'J_WAITING_CLIENT_RES', 'c' ); + define( 'J_WAITING_MAX_JOBS', 'd' ); + define( 'J_WAITING_START_TIME', 't' ); + define( 'J_WAITING_HIGH_PR_JOB', 'p' ); ?> -- 2.39.5