I really hope someone can help me or point me in the right direction. I use Moodle 3.2.3+.
I have a re-certification course that must be completed every 365 days, not by any fiscal year, just by 365 days after enrollment. My users are able to signup during the year from Jan. 1 to Dec. 31 as needed. I would really like a method that would allow an automated unenrollment and clearing the gradebook for each user as they reached their 365 day course limit. Currently we use the enrollment duration in the manual and PayPal enrollment methods. I have a user that expired this week and attempted to take the course again to find that the course was already completed for him.
I have found post like this one (https://moodle.org/mod/forum/discuss.php?d=346259) and many others that mentions creating a course every year and so on. This unfortunately does not solve my use case. I would have to create courses for every other day in some cases. Users are not bound by year, but bound by 365 days after enrollment. Just this week I had three users have to reenroll. That would be three different courses by the linked method.
I really need a automated method for doing this since I have 4 to 5 users enrolling every other day. Tracking and handling their course resets manually is not an option.
I do not retain certification history on Moodle and must track their certificate statuses in a separate system.
If I understand correctly, resetting a course will reset the course for everyone in the course. I can't do that since I have users that may signup on Dec. 31 and wouldn't be able to reset them until Dec. 31 the next year.
Any help would be greatly appreciated.
Thank you all for your time!