add frequence var

master
Heuzef 5 years ago
parent 8e946005ab
commit 2db74ec321
  1. 3
      Check.pm

@ -50,6 +50,9 @@ sub action
next if ( $Conf{XferMethod} eq "archive" ); next if ( $Conf{XferMethod} eq "archive" );
next if ( !$Privileged && !CheckPermission($host) ); next if ( !$Privileged && !CheckPermission($host) );
# Get frequence for this host
$frequence = $Conf{FullPeriod};
# Age # Age
for ( my $i = 0 ; $i < @Backups ; $i++ ) { for ( my $i = 0 ; $i < @Backups ; $i++ ) {
if ( $Backups[$i]{type} eq "full" ) { if ( $Backups[$i]{type} eq "full" ) {

Loading…
Cancel
Save