The last of the challenges to attack after the migration. The documentation helped immensely. Thanks to those who put it together.
Since the move The background gradebook processing cron task fails. Any insight on locks? and what I need to do here?
Thanks in advance!! Steve
ERROR:
Execute scheduled task: Background processing for gradebook (core\task\grade_cron_task)
... started 16:00:03. Current memory use 18.4MB.
!!! Coding error detected, it must be fixed by a programmer: A lock was created but not released at:
[dirroot]/lib/cronlib.php on line 99
Code should look like:
$factory = \core\lock\lock_config::get_lock_factory('type');
$lock = $factory->get_lock(Resource id #550);
$lock->release(); // Locks must ALWAYS be released like this.
!!!
CRON lines 97 to 100>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
$scheduledlock = null;
for ($run = 0; $run < $maxruns; $run++) {
if ($scheduledlock = $cronlockfactory->get_lock("scheduled_task_runner_{$run}", 1)) {
break;