clean up some problems

This commit is contained in:
Stephen Smoogen 2016-06-02 18:19:41 +00:00
parent 8081137aa6
commit ee5d4cbd9e
2 changed files with 1 additions and 2 deletions

View file

@ -77,6 +77,7 @@ fi
# stuck and you end up with days or weeks of data in a single
# file. Doing a continual sort clears up that.
sort -o ${WORKFILE} -u ${WORKFILE}
sort -o ${WORKDIR}/${YEAR}/out-${YEAR}-${MONTH} -S 8G -T /srv/tmp -u -m ${WORKDIR}/${YEAR}/out-${YEAR}-${MONTH} ${WORKFILE}
sort -o ${WORKDIR}/out-${YEAR} -S 8G -T /srv/tmp -u -m ${WORKDIR}/out-${YEAR} ${WORKFILE}

View file

@ -46,7 +46,5 @@ SITES="apps.fedoraproject.org codecs.fedoraproject.org communityblog.fedoraproje
for SITE in ${SITES}; do
perl /usr/share/awstats/wwwroot/cgi-bin/awstats.pl -config=${CONFDIR}/${SITE} -update -Logfile=${TREEDIR}/${SITE}-access.log
mkdir -p ${OUTDIR}/${YEAR}
perl /usr/share/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=${AWSTATS} -config=${SITE} -month=all -year=${YEAR} -dir=${OUTDIR}/${YEAR} ;
done