Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 27 lines (19 sloc) 613 Bytes
#!/usr/bin/env perl
# send-questionnaires:
# Send out creator questionnaires
# Copyright (c) 2011 UK Citizens Online Democracy. All rights reserved.
# Email: WWW:
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'));
FixMyStreet::App->model('DB::Questionnaire')->send_questionnaires( \%params );
Something went wrong with that request. Please try again.