diff options
Diffstat (limited to 'config/crontab.ugly')
-rw-r--r-- | config/crontab.ugly | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/crontab.ugly b/config/crontab.ugly index a580ce8ac..4d8580a51 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.3 2008-02-22 01:58:37 francis Exp $ +# $Id: crontab.ugly,v 1.4 2008-03-06 12:17:21 francis Exp $ PATH=/usr/local/bin:/usr/bin:/bin MAILTO=team@mysociety.org +# Every 10 minutes +*/10 0 * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/update-solr-index.lock /data/vhost/!!(*= $vhost *)!!/mysociety/foi/script/update-solr-index || echo "stalled?" + # Once an hour 39 0 * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/alert-overdue-requests.lock /data/vhost/!!(*= $vhost *)!!/mysociety/foi/script/alert-overdue-requests || echo "stalled?" |