diff options
author | francis <francis> | 2009-01-27 11:14:34 +0000 |
---|---|---|
committer | francis <francis> | 2009-01-27 11:14:34 +0000 |
commit | 1b6dbe770417f975be9e5a6eb8e995ebacc105a0 (patch) | |
tree | 8184dc1a02d48757e0e8f9d544e9a7d300495d16 | |
parent | 22e8e8828d1528bd9c14734321076ca97a543758 (diff) |
Slow down alerts slightly, so while database being dumped they don't stall.
-rw-r--r-- | config/crontab.ugly | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/crontab.ugly b/config/crontab.ugly index 7e4e60944..8c6d978eb 100644 --- a/config/crontab.ugly +++ b/config/crontab.ugly @@ -4,14 +4,15 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org. WWW: http://www.mysociety.org/ # -# $Id: crontab.ugly,v 1.17 2008-10-21 10:36:49 francis Exp $ +# $Id: crontab.ugly,v 1.18 2009-01-27 11:14:34 francis Exp $ PATH=/usr/local/bin:/usr/bin:/bin MAILTO=team@whatdotheyknow.com # 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?" +# Every 20 minutes +5,25,45 * * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/alert-tracks.lock /data/vhost/!!(*= $vhost *)!!/mysociety/foi/script/alert-tracks || echo "stalled?" # Once an hour 39 * * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/alert-overdue-requests.lock /data/vhost/!!(*= $vhost *)!!/mysociety/foi/script/alert-overdue-requests || echo "stalled?" |