From: Davide Franco Date: Fri, 27 May 2011 16:33:40 +0000 (+0200) Subject: bacula-web: Added job status code constant X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=39c06cfdb1214ea7b83b2693f3b3f91bed76a146;p=bacula%2Fbacula bacula-web: Added job status code constant --- 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' ); ?>