diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-10-05 13:55:22 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-10-05 14:08:19 +0100 |
commit | a4f6ba5bd1c6ae1a1c4f2a3186c920b54f88b53d (patch) | |
tree | eaf10b4abc864bd55d87d940189bb08d8c06ae63 /bin/fetch-comments | |
parent | 00df8752bd16f7250062cf6ef95a7418f449b931 (diff) |
More cron quietening, only show full Open311 first time, then summarise.
Diffstat (limited to 'bin/fetch-comments')
-rwxr-xr-x | bin/fetch-comments | 4 |
1 files changed, 3 insertions, 1 deletions
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; |