diff options
Diffstat (limited to 'config/crontab.ugly')
-rw-r--r-- | config/crontab.ugly | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/crontab.ugly b/config/crontab.ugly index 566fceb32..a580ce8ac 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.2 2008-02-13 12:10:41 francis Exp $ +# $Id: crontab.ugly,v 1.3 2008-02-22 01:58:37 francis Exp $ PATH=/usr/local/bin:/usr/bin:/bin MAILTO=team@mysociety.org +# 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?" + # 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?" +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?" |