Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 23 lines (16 sloc) 475 Bytes
#!/usr/bin/env perl
# send-reports:
# Send new problem reports to councils
#
# Copyright (c) 2011 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
use strict;
use warnings;
require 5.8.0;
use CGI; # XXX
use CronFns;
use mySociety::Config;
use FixMyStreet::App;
my $site = CronFns::site(mySociety::Config::get('BASE_URL'));
CronFns::language($site);
FixMyStreet::App->model('DB::Problem')->send_reports();
Something went wrong with that request. Please try again.