summaryrefslogtreecommitdiffstats
path: root/etc/cron.daily
diff options
context:
space:
mode:
Diffstat (limited to 'etc/cron.daily')
-rwxr-xr-x[-rw-r--r--]etc/cron.daily/jenkins0
-rwxr-xr-xetc/cron.daily/visitors8
2 files changed, 8 insertions, 0 deletions
diff --git a/etc/cron.daily/jenkins b/etc/cron.daily/jenkins
index 8100995e..8100995e 100644..100755
--- a/etc/cron.daily/jenkins
+++ b/etc/cron.daily/jenkins
diff --git a/etc/cron.daily/visitors b/etc/cron.daily/visitors
index e310dde7..ef011d65 100755
--- a/etc/cron.daily/visitors
+++ b/etc/cron.daily/visitors
@@ -3,6 +3,14 @@
# Copyright 2012 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
+[ -x /usr/bin/visitors ] || exit 0
+[ -x /usr/bin/ip2host ] || exit 0
+
+if [ ! -f /usr/share/doc/zutils/copyright ] ; then
+ echo package zutils needs to be installed too
+ exit 1
+fi
+
LOGS=$(mktemp)
DOT=$(mktemp)
# FIXME: provide monthly stats and don't run this daily