aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2013-01-08 14:22:31 +0000
committerDave Whiteland <dave@mysociety.org>2013-01-08 14:22:31 +0000
commit1a3a570a6414f9da9f767b12730e3f90c9f2161b (patch)
tree46f3d400694e01303e2d72ff67c14abe5effb18a
parent8083ae2f9e5d4d94882bb63761da1762ce7a2105 (diff)
parent608a6d7aed6fa068c58055fd9ea7d7218309fd5f (diff)
Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet
-rw-r--r--conf/crontab.ugly4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/crontab.ugly b/conf/crontab.ugly
index 95ca4b38d..cd30902b0 100644
--- a/conf/crontab.ugly
+++ b/conf/crontab.ugly
@@ -37,6 +37,10 @@ MAILTO=!!(*= $user *)!!@mysociety.org
0 0-7,9-23 * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/open311-populate-service-list.lock "/data/vhost/!!(*= $vhost *)!!/fixmystreet/bin/cron-wrapper open311-populate-service-list" || echo "stalled?"
0 8 * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/open311-populate-service-list.lock "/data/vhost/!!(*= $vhost *)!!/fixmystreet/bin/cron-wrapper open311-populate-service-list --warn" || echo "stalled?"
+!!(* } elsif ($vhost eq 'seeseomthing.mysociety.org') { *)!!
+5,10,15,20,25,30,35,40,45,50,55 * * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/send-reports.lock "/data/vhost/!!(*= $vhost *)!!/fixmystreet/bin/cron-wrapper send-reports" || echo "stalled?"
+0 0-7,9-11,13-15,17-23 * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/send-reports.lock "/data/vhost/!!(*= $vhost *)!!/fixmystreet/bin/cron-wrapper send-reports" || echo "stalled?"
+0 8,12,16 * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/send-reports.lock "/data/vhost/!!(*= $vhost *)!!/fixmystreet/bin/cron-wrapper send-reports --verbose" || echo "stalled?"
!!(* } *)!!
# Once an hour, update the all reports stats