awstats_update_all
paralell processing of awstats statistics updates |
awstats_update_all is a shell script to start AWStats statistics update processes synchronously.
AWStats is a webserver access statistic analyzer by Laurent Destailleur. You can use awstats_update_all to start
the statistics regeneration process of AWStats. If there are many domains or sites to generate the statistics for, the update process
can take longer to complete. Unlike other scripts, awstats_update_all runs several AWStats update processes in parallel which speeds up
updating of all sites on decent hardware considerably.
20,50 * * * * root [ -x /usr/lib/cgi-bin/awstats.pl -a -x /usr/local/sbin/awstats_update_all ] && /usr/local/sbin/awstats_update_all -q
prerotate /usr/local/sbin/awstats_update_all -q endscriptSee the respective manual of cron or logrotate.
For a silent operation use "-q" as an argument for awstats_update_all.
(c) 2010-2011 under GNU General Public License, Version 2, by Adrian Zaugg.
ente.limmat.ch uses awstats_update_all three times an hour for ~45 domains. |