Skip to content

Commit

Permalink
Have crontab mail set more appropriately on non-live sites.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed May 17, 2012
1 parent 9417a80 commit a9cb809
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conf/crontab.ugly
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9cb809

Please sign in to comment.