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