exit()
}
-my @tables = qw/reporter.template_folder reporter.report_folder reporter.template reporter.report/;
+my @tables = qw/reporter.template_folder reporter.report_folder reporter.output_folder reporter.template reporter.report/;
foreach my $table (@tables) {
my $update_owner = qq/UPDATE $table SET owner = ? WHERE owner = ?/;
$sth = $dbh->prepare("$update_owner");
print "Setting new owner for $table.\n";
}
+my $update_schedule = qq/UPDATE reporter.schedule SET runner = $user_id2 WHERE runner = $user_id1 AND complete_time IS NULL/;
+
$dbh->commit;
+
+
# clean up
$dbh->disconnect();