12 |
'default' => { |
'default' => { |
13 |
21 => 5, |
21 => 5, |
14 |
30 => 10, |
30 => 10, |
15 |
60 => 30, |
90 => 30, |
16 |
}, |
}, |
17 |
'212052' => { # koha-dev |
'212052' => { # koha-dev |
18 |
7 => 10, |
7 => 10, |
20 |
}, |
}, |
21 |
'212056' => { # webpac2 |
'212056' => { # webpac2 |
22 |
7 => 5, |
7 => 5, |
23 |
|
14 => 30, |
24 |
} |
} |
25 |
}; |
}; |
26 |
|
|
58 |
|
|
59 |
my $keep_every_days; |
my $keep_every_days; |
60 |
my $older_than_days; |
my $older_than_days; |
61 |
foreach ( sort keys %$c ) { |
foreach ( sort { $b <=> $a } keys %$c ) { |
62 |
$older_than_days = $_; |
$older_than_days = $_; |
63 |
$keep_every_days = $c->{$_}; |
$keep_every_days = $c->{$_}; |
64 |
warn "## $host $age > $older_than_days" if $debug; |
warn "## $host $age > $older_than_days" if $debug; |