Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 27 lines (19 sloc) 0.613 kB
#!/usr/bin/env perl
# send-questionnaires:
# Send out creator questionnaires
#
# 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 Awkward kludge
use Encode;
use CronFns;
use FixMyStreet::App;
use mySociety::Config;
my %params;
( $params{verbose}, $params{nomail} ) = CronFns::options();
$params{site} = CronFns::site(mySociety::Config::get('BASE_URL'));
CronFns::language($params{site});
FixMyStreet::App->model('DB::Questionnaire')->send_questionnaires( \%params );
Jump to Line
Something went wrong with that request. Please try again.