diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-05-15 22:43:41 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-05-15 22:43:41 +0100 |
commit | 1ba0a33c9fa19f2fa46f16678785d1c90ed33eb0 (patch) | |
tree | cb9be4fcf30343dc22041f1f663f5df1d22cfb75 | |
parent | 2087ef326b3d031a5b54f61a400919bda41f28bb (diff) |
Have crontab mail set more appropriately on non-live sites.
-rw-r--r-- | conf/crontab.ugly | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/crontab.ugly b/conf/crontab.ugly index 42e293c55..f7a08b163 100644 --- a/conf/crontab.ugly +++ b/conf/crontab.ugly @@ -7,7 +7,11 @@ # $Id: crontab.ugly,v 1.23 2010-01-07 10:32:24 louise Exp $ PATH=/usr/local/bin:/usr/bin:/bin +!!(* if ($vhost eq 'www.fixmystreet.com' || $vhost eq 'reportemptyhomes.com') { *)!! MAILTO=cron-!!(*= $site *)!!@mysociety.org +!!(* } else { *)!! +MAILTO=!!(*= $user *)!!@mysociety.org +!!(* } *)!! # On only one server !!(* if ($vhost eq 'reportemptyhomes.com') { *)!! |