Hello. I would like to ask if there is a solution that allows courses to be automatically restarted without having to do it manually each time. For example, I want the course to restart automatically every six months, with the certificate option added to the course modes and the course run number updated accordingly (e.g., from 2024_C2 to 2025_C1, then after another six months to 2025_C2, and so on).
My two cents is no, not possible in exactly the way you described.
You do have a lot of options around automating things like enrollments if you can use the APIs. For example, I was involved with a solution that would automatically enroll users in new versions of a course. But in that scenario, the new course had to be manually created before that enrollment would happen. This client had a lot of users so creating a course every 6 months or so wasn’t too bad, but managing enrollments would have been very tedious.
Now that I’m talking about it, the tools to do what you want probably do exist in the code. I am quite sure there is a script to import courses, since platforms do that for the DemoX course, and then adding a certificate should be possible via some kind of script. So it seems possible, but fairly technical, to build some kind of automated script that would do this. But I’ve never been involved in such a thing.
"Which function is responsible for restarting courses?
I think there is a function with input parameters for restarting courses. I believe I could write a script that I would either run manually or schedule with crontab."**