diff --git a/ipasserelle-stats.spec b/ipasserelle-stats.spec index e4b2a49..d2b5706 100644 --- a/ipasserelle-stats.spec +++ b/ipasserelle-stats.spec @@ -1,5 +1,5 @@ %define version 0.0.1 -%define release 1.beta6 +%define release 1.beta8 %define name ipasserelle-stats diff --git a/root/etc/e-smith/templates/etc/cron.hourly/awstats/10All b/root/etc/e-smith/templates/etc/cron.hourly/awstats/10All index 50b74fb..c98f6f4 100644 --- a/root/etc/e-smith/templates/etc/cron.hourly/awstats/10All +++ b/root/etc/e-smith/templates/etc/cron.hourly/awstats/10All @@ -9,6 +9,6 @@ foreach my $dom ($d->domains){ next if ($stats ne 'enabled'); my $name = $dom->key; $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"; } }