We are creating courses that are open-ended, where anyone can enroll at any time and there is no set time to complete a course. While it is open-ended, we still want to make sure students stay engaged - so we are looking to send reminders if a student hasn't logged in for 2 weeks and 4 weeks. If a student hasn't logged in for 6 weeks, we will reset the student's progress on incomplete courses.
I see that course progress seems to be held in user meta according to class.student.completion.php .. I will handle the time-based login logic separately, I just need to figure out how to tell which courses have not been completed, and how to properly reset a single student's progress on the incomplete course.
Thanks in advance!