my $reply = CGI->new("");
print $reply->header(-type => 'text/html');
- print "{ jobID: '$jobID' }";
+ print '{"jobID":"' . $jobID . '"}';
exit 0;
} elsif (defined $pid) {
# if we get here, we're a child that has detached
close STDERR;
foreach (1..100) {
- sleep 1;
$job->progress( $_ );
+ sleep 1;
}
$job->finish();
} else {