Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Couple of zurich/zueri misses.

  • Loading branch information...
commit 3fd2f5f3c485c360aad8bdb340c7934abcdd2c3b 1 parent d3b2eb1
@dracos dracos authored
Showing with 5 additions and 2 deletions.
  1. +4 −1 conf/crontab.ugly
  2. +1 −1  perllib/CronFns.pm
View
5 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
!!(* } *)!!
View
2  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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.