aboutsummaryrefslogtreecommitdiffstats
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:12:16 +0100
commit88443e6d62f83f39ecd8a65ea668028497930423 (patch)
treeb51cb2f0f1d08d5ee8e2edb21c86812998db83bc
parent9e0ad7c0b14fbd017dc6be61e792bf69dd54e8fa (diff)
Add support for running alert-tracks as a daemon, rather than a cron job.
-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?"