Hello Babynus,
Cron in background task stops after 30 seconds and doesn't restart anymore.
I think there is a bug in "projeqtor_set_time_limit($timeout)" function and "tool/projeqtor.php" file :
if ($max != 0 && $timeout > $max) { // Don't bother if unlimited
@set_time_limit($timeout);
}
By default, PHP sets the time limit to 30 seconds. Before running cron, Projeqtor executes projeqtor_set_time_limit(0);, $max is 30s by default and $timeout is 0, so @set_time_limit is not executed and time limit stay at 30s.
Regards,
Hi,
You're right !
Fix is relacing the test line
if ($max != 0 && $timeout > $max) { // Don't bother if unlimited
with
if ($max != 0 && ($timeout > $max or $timeout==0) ) { // Don't bother if unlimited
Fix will be deployed in patch V4.5.4