aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/crontab.ugly5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/crontab.ugly b/config/crontab.ugly
index 1384e8a27..8f4e96729 100644
--- a/config/crontab.ugly
+++ b/config/crontab.ugly
@@ -4,11 +4,14 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org. WWW: http://www.mysociety.org/
#
-# $Id: crontab.ugly,v 1.13 2008-06-12 14:17:31 francis Exp $
+# $Id: crontab.ugly,v 1.14 2008-06-13 10:14:30 francis Exp $
PATH=/usr/local/bin:/usr/bin:/bin
MAILTO=team@whatdotheyknow.com
+# Start mongrel after reboot
+@reboot /data/vhost/!!(*= $vhost *)!!/mysociety/foi/script/restart-mongrel
+
# Every 10 minutes
*/10 * * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/update-xapian-index.lock /data/vhost/!!(*= $vhost *)!!/mysociety/foi/script/update-xapian-index || echo "stalled?"
5,15,25,35,45,55 * * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/alert-tracks.lock /data/vhost/!!(*= $vhost *)!!/mysociety/foi/script/alert-tracks || echo "stalled?"