aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-05-15 22:43:41 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-05-17 09:55:11 +0100
commita9cb80973eaacc79d75cd8edb12009fc88569117 (patch)
tree7df7d5df0e15cc16fc6da4bd778a5fd7d714909f
parent9417a809e3e7b8638c90ad4efd0a58a3829b2ef2 (diff)
Have crontab mail set more appropriately on non-live sites.
-rw-r--r--conf/crontab.ugly6
1 files changed, 3 insertions, 3 deletions
diff --git a/conf/crontab.ugly b/conf/crontab.ugly
index 4052275ee..1a4e82cee 100644
--- a/conf/crontab.ugly
+++ b/conf/crontab.ugly
@@ -7,10 +7,10 @@
# $Id: crontab.ugly,v 1.23 2010-01-07 10:32:24 louise Exp $
PATH=/usr/local/bin:/usr/bin:/bin
-!!(* if ($vhost eq 'integration-staging.fixmystreet.com') { *)!!
-MAILTO=dave@mysociety.org
-!!(* } else { *)!!
+!!(* if ($vhost eq 'www.fixmystreet.com' || $vhost eq 'reportemptyhomes.com') { *)!!
MAILTO=cron-!!(*= $site *)!!@mysociety.org
+!!(* } else { *)!!
+MAILTO=!!(*= $user *)!!@mysociety.org
!!(* } *)!!
# On only one server