From a4f6ba5bd1c6ae1a1c4f2a3186c920b54f88b53d Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 5 Oct 2012 13:55:22 +0100 Subject: More cron quietening, only show full Open311 first time, then summarise. --- bin/fetch-comments | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/fetch-comments') diff --git a/bin/fetch-comments b/bin/fetch-comments index 4bbcc9d21..ef099fcc9 100755 --- a/bin/fetch-comments +++ b/bin/fetch-comments @@ -5,11 +5,13 @@ use warnings; require 5.8.0; use FixMyStreet::App; +use CronFns; +my ($verbose, $nomail) = CronFns::options(); use Open311; use Open311::GetServiceRequestUpdates; -my $updates = Open311::GetServiceRequestUpdates->new; +my $updates = Open311::GetServiceRequestUpdates->new( verbose => $verbose ); $updates->fetch; -- cgit v1.2.3