#!/bin/bash

if [ -f /var/log/httpd/access_log ] ; then
        exec perl /usr/share/awstats/tools/awstats_updateall.pl now                 -configdir="/etc/awstats"                 -awstatsprog="/usr/share/awstats/wwwroot/cgi-bin/awstats.pl" >/dev/null
fi
exit 0
