aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-01-08 14:12:06 +0000
committerStruan Donald <struan@exo.org.uk>2013-01-08 14:12:06 +0000
commit608a6d7aed6fa068c58055fd9ea7d7218309fd5f (patch)
tree86d07622a50d2c55f5f5ebe3ee3cbc4f027a2570
parent7626e6eccb985d8fb6ff936cdb5708acad5ce6e2 (diff)
seesomething needs to run send-reports and send-reports only
-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