Permalink
Browse files

Couple of zurich/zueri misses.

  • Loading branch information...
1 parent d3b2eb1 commit 3fd2f5f3c485c360aad8bdb340c7934abcdd2c3b @dracos dracos committed Mar 12, 2013
Showing with 5 additions and 2 deletions.
  1. +4 −1 conf/crontab.ugly
  2. +1 −1 perllib/CronFns.pm
View
@@ -25,14 +25,17 @@ my @sending = qw(
demo.fixmybarangay.com
www.fixmybarangay.com
zurich.fixmystreet.staging.mysociety.org
+ www.zueriwieneu.ch
seesomething.mysociety.org
);
my @no_alerts = qw(
zurich.fixmystreet.staging.mysociety.org
+ www.zueriwieneu.ch
seesomething.mysociety.org
);
my @no_open311 = qw(
zurich.fixmystreet.staging.mysociety.org
+ www.zueriwieneu.ch
seesomething.mysociety.org
);
my %sending = map { $_ => 1 } @sending;
@@ -75,6 +78,6 @@ my %no_alerts = map { $_ => 1 } @no_alerts;
43 2 * * * !!(*= $user *)!! /data/vhost/!!(*= $vhost *)!!/fixmystreet/bin/problem-creation-graph
00 8 * * * !!(*= $user *)!! /data/vhost/!!(*= $vhost *)!!/fixmystreet/bin/check-for-zombies !!(*= $user *)!!
-!!(* if ($vhost =~ /zurich/) { *)!!
+!!(* if ($vhost =~ /zurich|zueri/) { *)!!
30 0 * * * !!(*= $user *)!! /data/vhost/!!(*= $vhost *)!!/fixmystreet/bin/cron-wrapper zurich-overdue-alert
!!(* } *)!!
View
@@ -36,7 +36,7 @@ sub site {
my $base_url = shift;
my $site = 'fixmystreet';
$site = 'emptyhomes' if $base_url =~ 'emptyhomes';
- $site = 'zurich' if $base_url =~ 'zurich';
+ $site = 'zurich' if $base_url =~ /zurich|zueri/;
return $site;
}

0 comments on commit 3fd2f5f

Please sign in to comment.