From d45e06fa7c3c44207738aaa35a1270ab2e9cabb4 Mon Sep 17 00:00:00 2001 From: Heuzef Date: Fri, 11 Oct 2019 09:47:57 +0200 Subject: [PATCH] frequencY --- Check.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Check.pm b/Check.pm index 5201a86..42e3c98 100644 --- a/Check.pm +++ b/Check.pm @@ -29,7 +29,7 @@ use Data::Dumper; sub action { # Init - my($str, $strNone, $strGood, $hostCntGood, $hostCntNone, $frequence, $header); + my($str, $strNone, $strGood, $hostCntGood, $hostCntNone, $frequency, $header); $hostCntGood = $hostCntNone = 0; GetStatusInfo("hosts info"); @@ -50,11 +50,11 @@ sub action next if ( $Conf{XferMethod} eq "archive" ); next if ( !$Privileged && !CheckPermission($host) ); - # Get frequence for this host + # Get frequency for this host if ( $Conf{IncrPeriod} < $Conf{FullPeriod} ) { - $frequence = $Conf{IncrPeriod}; + $frequency = $Conf{IncrPeriod}; } else { - $frequence = $Conf{FullPeriod}; + $frequency = $Conf{FullPeriod}; } # Age @@ -83,7 +83,7 @@ sub action } # Color for age - if ( $lastAge < $frequence ) { + if ( $lastAge < $frequency ) { $lastAgeColor = "MediumSeaGreen"; } else { $lastAgeColor = "Tomato"; @@ -216,7 +216,7 @@ my $browseFile = "?action=browse&host=$host"; # Show summary $str = <${HostLink($host)} - $lastAge (Freq: $frequence) + $lastAge (Freq: $frequency) $lastXferErrors $sizeConsistency Explore files ...