diff options
author | francis <francis> | 2008-03-11 08:06:05 +0000 |
---|---|---|
committer | francis <francis> | 2008-03-11 08:06:05 +0000 |
commit | 4936713c37139220094406ae420c529b19e736f5 (patch) | |
tree | 4dace6f08790cf3f83a5648bc464788b5956bc53 | |
parent | 365083fe445313010235d37c928df69b0e2efb39 (diff) |
One day cron specifications will be immediately intuitive to me! One day.
-rw-r--r-- | config/crontab.ugly | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config/crontab.ugly b/config/crontab.ugly index f02e3c2b2..a7e0571bd 100644 --- a/config/crontab.ugly +++ b/config/crontab.ugly @@ -4,16 +4,16 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org. WWW: http://www.mysociety.org/ # -# $Id: crontab.ugly,v 1.6 2008-03-11 08:05:30 francis Exp $ +# $Id: crontab.ugly,v 1.7 2008-03-11 08:06:05 francis Exp $ PATH=/usr/local/bin:/usr/bin:/bin MAILTO=team@whatdotheyknow.com -# Eve*y 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?" +# Every 10 minutes +*/10 * * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/update-solr-index.lock /data/vhost/!!(*= $vhost *)!!/mysociety/foi/script/update-solr-index || echo "stalled?" -# O*ce 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?" +# 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?" # Once a day, early morning 23 4 * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/delete-old-sessions.lock /data/vhost/!!(*= $vhost *)!!/mysociety/foi/script/delete-old-sessions || echo "stalled?" |