aboutsummaryrefslogtreecommitdiffstats
path: root/conf/crontab.ugly
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-06-16 12:15:03 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-06-16 12:15:03 +0100
commit4a7912b97c75d8934bbab33532f0b6ac1e86e47f (patch)
tree3645cd9bd55c77b71adbe7a8fc74bcc58202ba01 /conf/crontab.ugly
parent4cbadaa9cd86ff3c0a82ccb696d115c2496b287a (diff)
Generate /reports data on cron.
Diffstat (limited to 'conf/crontab.ugly')
-rw-r--r--conf/crontab.ugly3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/crontab.ugly b/conf/crontab.ugly
index 8fc1ecf40..d1779ff73 100644
--- a/conf/crontab.ugly
+++ b/conf/crontab.ugly
@@ -27,6 +27,9 @@ MAILTO=cron-!!(*= $site *)!!@mysociety.org
!!(* } *)!!
+# Once an hour, update the all reports stats
+13 * * * * !!(*= $user *)!! /data/vhost/!!(*= $vhost *)!!/fixmystreet/bin/cron-wrapper update-all-reports
+
# Once a day on all servers
39 2 * * * !!(*= $user *)!! /data/vhost/!!(*= $vhost *)!!/fixmystreet/bin/problems-filed-graph
43 2 * * * !!(*= $user *)!! /data/vhost/!!(*= $vhost *)!!/fixmystreet/bin/problem-creation-graph