We are running a Moodle site and have some courses where the students have previously taken the class. These past completion dates are stored in a csv file. I have written a script that takes the csv file and imports all completion dates directly to the course_completions table in the database. This correctly updates the completion date, but a short while after the update all the completion dates are reverted to NULL. It looks like there is a Moodle script that is running with the CRON and is updating the completion date. It may be from the normal course completion script, since non of the students have actually done the course and completed the activities.
I need someone who is an expert at Moodle to help me figure out the problem and assist in updating the completion dates so that they do not revert to NULL.
The site is on a local server, so we would need to work on this together. With you logging onto my machine through Team Viewer.
Thanks and please let me know if there are any questions.