From 450ec5a964686f51050c0d1ef243a19b4814f728 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Sun, 9 Dec 2012 03:22:22 -0500 Subject: [PATCH] Delete cron-script.sh Modern awstats uses /usr/share/awstats/tools/update.sh instead, so there's no reason to keep the unused script around. --- cron-script.sh | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 cron-script.sh diff --git a/cron-script.sh b/cron-script.sh deleted file mode 100755 index 032509b..0000000 --- a/cron-script.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -set -e - -domains="olinda alex" - -if [ ! -x /usr/lib/cgi-bin/awstats.pl ]; then exit 1; fi -cd /etc/awstats/ - -for domain in $domains; do - echo "Updating $domain..." - /usr/lib/cgi-bin/awstats.pl -config=$domain -update - echo "Building pages..." - /var/lib/awstats/bin/awstats_buildstaticpages.pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl -config=$domain -dir=output - echo - echo - echo -done -echo "Done with awstats." -- 2.34.1