aboutsummaryrefslogtreecommitdiffstats
path: root/config/crontab.ugly
diff options
context:
space:
mode:
authorRobin Houston <robin@lenny.robin>2011-06-22 12:12:16 +0100
committerRobin Houston <robin@lenny.robin>2011-06-22 12:26:11 +0100
commite47168af6aa1d0e67d7280af96301b0660a46a0c (patch)
tree25c6511b750102b32a26c0f6af5a82096701c50b /config/crontab.ugly
parent9e0ad7c0b14fbd017dc6be61e792bf69dd54e8fa (diff)
Add support for running alert-tracks as a daemon, rather than a cron job.
Diffstat (limited to 'config/crontab.ugly')
-rw-r--r--config/crontab.ugly4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/crontab.ugly b/config/crontab.ugly
index d572e1a9a..9193899af 100644
--- a/config/crontab.ugly
+++ b/config/crontab.ugly
@@ -11,8 +11,8 @@ MAILTO=cron-!!(*= $site *)!!@mysociety.org
# Every 5 minutes
*/5 * * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/update-xapian-index.lock /data/vhost/!!(*= $vhost *)!!/!!(*= $vcspath *)!!/script/update-xapian-index || echo "stalled?"
-# Every 10 minutes
-5,15,25,35,45,55 * * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/alert-tracks.lock /data/vhost/!!(*= $vhost *)!!/!!(*= $vcspath *)!!/script/alert-tracks || echo "stalled?"
+# # Every 10 minutes
+# 5,15,25,35,45,55 * * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/alert-tracks.lock /data/vhost/!!(*= $vhost *)!!/!!(*= $vcspath *)!!/script/alert-tracks || echo "stalled?"
# Once an hour
39 * * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/alert-overdue-requests.lock /data/vhost/!!(*= $vhost *)!!/!!(*= $vcspath *)!!/script/alert-overdue-requests || echo "stalled?"