Do not delete cron tasks with errors, just notify spectre of the problem. Fixes bug #11604.

This commit is contained in:
Colin Kuskie 2010-06-03 10:56:03 -07:00
parent 951864f6d3
commit 5a904a85db
4 changed files with 109 additions and 1 deletions

View file

@ -308,7 +308,6 @@ sub www_runCronJob {
# Run the instance
my $error = $instance->start( 1 );
if ($error) {
$task->delete(1);
return "error";
}
$task->delete( 1 ) if ( $task->get("runOnce") );