my $config = {
'default' => {
- 14 => 5,
+ 21 => 5,
30 => 10,
60 => 30,
},
'212052' => { # koha-dev
7 => 10,
+ 14 => 30,
},
'212056' => { # webpac2
7 => 5,
my $keep_every_days;
my $older_than_days;
- foreach ( keys %$c ) {
+ foreach ( sort keys %$c ) {
$older_than_days = $_;
$keep_every_days = $c->{$_};
warn "## $host $age > $older_than_days" if $debug;