aboutsummaryrefslogtreecommitdiffstats
path: root/debian/sitesummary.cron.daily
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2006-08-31 06:44:45 +0000
committerPetter Reinholdtsen <pere@hungry.com>2006-08-31 06:44:45 +0000
commit28d7a9d708c57c9562d7beda57a9dd2965a08ec1 (patch)
tree0041655c21bbf160acdb1d92395d7ac7e52689e6 /debian/sitesummary.cron.daily
parentad92c7bf67243de34045325f660cd4f8645a4751 (diff)
downloadsitesummary-28d7a9d708c57c9562d7beda57a9dd2965a08ec1.tar.gz
sitesummary-28d7a9d708c57c9562d7beda57a9dd2965a08ec1.tar.bz2
sitesummary-28d7a9d708c57c9562d7beda57a9dd2965a08ec1.tar.xz
* Add daily cron job to update web pages once a day.
* Remove old /etc/apache2/sites-available/sitesummary if it exist, to cope with the new apache config structure introduced version 0.0.6.
Diffstat (limited to 'debian/sitesummary.cron.daily')
-rwxr-xr-xdebian/sitesummary.cron.daily5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/sitesummary.cron.daily b/debian/sitesummary.cron.daily
new file mode 100755
index 0000000..ca37ce5
--- /dev/null
+++ b/debian/sitesummary.cron.daily
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# Update the web report once a day
+
+[ -x /usr/sbin/sitesummary-makewebreport ] && nice /usr/sbin/sitesummary-makewebreport