Do not delete cron tasks with errors, just notify spectre of the problem. Fixes bug #11604.
This commit is contained in:
parent
951864f6d3
commit
5a904a85db
4 changed files with 109 additions and 1 deletions
|
|
@ -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") );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue