CRON-job - Error reading from database

CRON-job - Error reading from database

by Karolien Burms -
Number of replies: 2

Hi Everyone

I'm on Moodle 3.6 and we recently installed plugin "Course recompletion". 

For the "Course recompletion" to work the CRON-job: "Check for users that need to recomplete" (\local_recompletion\task\check_recompletion). Needs to run.

This task is not running. For testing purposes, I set it to run every 5 minutes. But instead of running, time is added to "Fail delay" every 5 minutes. 

In the log file of CRON we see this:

Execute scheduled task: Check for users that need to recomplete (local_recompletion\task\check_recompletion)
... started 15:50:01. Current memory use 19.4MB.
... used 1 dbqueries
... used 0.050018072128296 seconds
Scheduled task failed: Check for users that need to recomplete (local_recompletion\task\check_recompletion),Error reading from database


Can anyone help?

Average of ratings: -
In reply to Karolien Burms

Re: CRON-job - Error reading from database

by Karolien Burms -
For anyone interested.
We found the "bug". the php file contains code that is morphed into an Oracle sql statement.
Some of the more tech-savvy people here changed a part of the code and it is working now. Don't ask me what they did, I did not understand it.
Apparently the problem was that we use an Oracle database and that the plugin does not work completely on that and they fixed it.
Average of ratings: Useful (1)