You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lib/private/BackgroundJob/JobList.php:getNext(bool $onlyTimeSensitive = true) function points to 'true' as the default parameter for onlyTimeSensitive.
While executing Webcron, getNext ist called without any parameters. So no TIME_INSENSITIVE jobs are executed, because the default parameter true is set for onlyTimeSensitive.
Steps to reproduce
Expected behavior
All crons are executed or at least checked regularly, not only time sensitive ones.
To achieve this, change in cron.php line 170 from "$job = $jobList->getNext();" to "$job = $jobList->getNext(false);"
Installation method
Manual installation
Operating system
Other
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 22.2.3 to 22.2.4)
Are you using the Nextcloud Server Encryption module?
Bug description
The lib/private/BackgroundJob/JobList.php:getNext(bool $onlyTimeSensitive = true) function points to 'true' as the default parameter for onlyTimeSensitive.
While executing Webcron, getNext ist called without any parameters. So no TIME_INSENSITIVE jobs are executed, because the default parameter true is set for onlyTimeSensitive.
Steps to reproduce
Expected behavior
All crons are executed or at least checked regularly, not only time sensitive ones.
To achieve this, change in cron.php line 170 from "$job = $jobList->getNext();" to "$job = $jobList->getNext(false);"
Installation method
Manual installation
Operating system
Other
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 22.2.3 to 22.2.4)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: