|
|
@ -9,6 +9,6 @@ foreach my $dom ($d->domains){ |
|
|
|
next if ($stats ne 'enabled'); |
|
|
|
next if ($stats ne 'enabled'); |
|
|
|
my $name = $dom->key; |
|
|
|
my $name = $dom->key; |
|
|
|
$OUT .= 'mkdir -p /home/e-smith/files/stats/'."$name".'/$YEAR/'."\n"; |
|
|
|
$OUT .= 'mkdir -p /home/e-smith/files/stats/'."$name".'/$YEAR/'."\n"; |
|
|
|
$OUT .= "/usr/share/awstats/tools/awstats_buildstaticpages.pl -config=$name -update -lang=$lang -dir=/home/e-smith/files/stats/$name/\$YEAR/\n\n"; |
|
|
|
$OUT .= "/usr/share/awstats/tools/awstats_buildstaticpages.pl -config=$name -update -lang=$lang -dir=/home/e-smith/files/stats/$name/\$YEAR/ 2>&1 > /dev/null\n\n"; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|