From 61e3c4db458687d30c68aef5ca9d55f0d256f9d0 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 20 Jan 2009 18:13:49 +0000 Subject: [PATCH] ebl Use default age in missing job view git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8387 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/lib/Bweb.pm | 4 ++-- gui/bweb/technotes-3.0 | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gui/bweb/lib/Bweb.pm b/gui/bweb/lib/Bweb.pm index 64d83a2712..270328d527 100644 --- a/gui/bweb/lib/Bweb.pm +++ b/gui/bweb/lib/Bweb.pm @@ -5083,10 +5083,10 @@ sub check_job sub display_missing_job { my ($self) = @_; - my $arg = $self->get_form(qw/begin end/); + my $arg = $self->get_form(qw/begin end age/); if (!$arg->{begin}) { # TODO: change this - $arg->{begin} = strftime('%F %T', localtime(time - 24*60*60 )); + $arg->{begin} = strftime('%F %T', localtime(time - $arg->{age})); } if (!$arg->{end}) { $arg->{end} = strftime('%F %T', localtime(time)); diff --git a/gui/bweb/technotes-3.0 b/gui/bweb/technotes-3.0 index 9fe03deabd..0977f6692d 100644 --- a/gui/bweb/technotes-3.0 +++ b/gui/bweb/technotes-3.0 @@ -1,3 +1,5 @@ +20Jan09 +ebl Use default age in missing job view 19Jan09 ebl Work on check_bacula.pl - Modify warning/critical threshold -- 2.39.5