Merge commit '4635b91554' into WebGUI8. Syntax clean up to 7.10.2

This commit is contained in:
Colin Kuskie 2010-10-27 15:59:33 -07:00
commit 87326192a3
46 changed files with 956 additions and 969 deletions

View file

@ -308,6 +308,9 @@ sub www_runCronJob {
# Run the instance
my $error = $instance->start( 1 );
if ($error) {
##Unable to communicate with spectre. Delete this instance to it does not get stuck.
$session->log->error("Unable to communicate with spectre: $error about taskId: $taskId. Deleting instanceId: ". $instance->getId);
$instance->delete();
return "error";
}
$task->delete( 1 ) if ( $task->get("runOnce") );