aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/crontab.ugly5
-rwxr-xr-xperllib/CronFns.pm2
2 files changed, 5 insertions, 2 deletions
diff --git a/conf/crontab.ugly b/conf/crontab.ugly
index 4eb6d5a26..c85d3f119 100644
--- a/conf/crontab.ugly
+++ b/conf/crontab.ugly
@@ -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
!!(* } *)!!
diff --git a/perllib/CronFns.pm b/perllib/CronFns.pm
index 878482339..ac7f85596 100755
--- a/perllib/CronFns.pm
+++ b/perllib/CronFns.pm
@@ -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;
}