summaryrefslogtreecommitdiffstats
path: root/bin/build-docs/build-docs.cron
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-docs/build-docs.cron')
-rw-r--r--bin/build-docs/build-docs.cron10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/build-docs/build-docs.cron b/bin/build-docs/build-docs.cron
new file mode 100644
index 0000000..6c45ce1
--- /dev/null
+++ b/bin/build-docs/build-docs.cron
@@ -0,0 +1,10 @@
+#!/bin/sh
+. /etc/build-docs.conf
+[ "${ENABLE_HOURLY_BUILD}" == "yes" ] || exit 0
+[ "x" == "x${BDR}" ] && BDR="build-docs"
+[ "x" == "x${BDRFLAGS}" ] && BDRFLAGS="-c -m /var/lib/build-docs"
+[ "x" == "x${LOGFILE}" ] && LOGFILE="/var/log/build-docs.log"
+echo "Starting build-docs at `date -uR`..." >> $LOGFILE
+$BDR $BDRFLAGS &> $LOGFILE 2>&1
+echo "Finished build-docs at `date -uR`..." >> $LOGFILE
+exit 0