blob: a276433e4712af59bb37008cf853c09c288594f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/usr/bin/env perl
#
# This script utilises the Open311 extension explained at
# https://github.com/mysociety/FixMyStreet/wiki/Open311-FMS---Proposed-differences-to-Open311
# to fetch updates on service requests.
use strict;
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( verbose => $verbose );
$updates->fetch;
|