# HG changeset patch # User Chris Cannam # Date 1503673216 -3600 # Node ID 1c904260787bbb36295d2947a13b17b92db5a7ab # Parent 16325d2ab2dd2a2c674929885f14236797a968bf Minor tweaks & cron pre-run diff -r 16325d2ab2dd -r 1c904260787b deploy/any/run-cron-scripts.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deploy/any/run-cron-scripts.sh Fri Aug 25 16:00:16 2017 +0100 @@ -0,0 +1,14 @@ +#!/bin/bash + +set -e + +cd /var/www/code + +for t in minutely hourly daily monthly; do + for s in deploy/config/cron.$t/[0-9]* ; do + name=$(basename $s) + actual="/etc/cron.$t/$name" + echo "Running cron script $actual..." + "$actual" + done +done diff -r 16325d2ab2dd -r 1c904260787b deploy/provision.d/000-system-packages.sh --- a/deploy/provision.d/000-system-packages.sh Fri Aug 25 15:20:53 2017 +0100 +++ b/deploy/provision.d/000-system-packages.sh Fri Aug 25 16:00:16 2017 +0100 @@ -35,6 +35,7 @@ libmagickwand-dev \ libio-socket-ssl-perl \ logrotate \ + lynx \ mercurial \ mercurial-git \ openjdk-9-jdk-headless \ diff -r 16325d2ab2dd -r 1c904260787b deploy/provision.d/190-reminders.sh --- a/deploy/provision.d/190-reminders.sh Fri Aug 25 15:20:53 2017 +0100 +++ b/deploy/provision.d/190-reminders.sh Fri Aug 25 16:00:16 2017 +0100 @@ -13,6 +13,13 @@ code-ssl.conf for an example HTTPS configuration (you will of course need to provide the key/cert files). +*** CRON SCRIPTS + + A number of cron scripts have been installed. It might be no bad + thing to prime and test them by running them all once now. Some of + the services tested by the smoke test script (below) may depend on + their having run. Use deploy/any/run-cron-scripts.sh for this. + *** SMOKE TEST There is a smoke test script in the deploy/test directory. That