Hello folks.
We are on moodle 3.9.x
We just created a new shell, and it has already enrolled one student via the auto-enrol. It happened instantly. Not overnight using our external database enrolment.
If the script runs once a day, at night, how could this have happened?
My guess is that the enrolments were already there even before the course was created and at the fraction of the second once the course is created and shortly thereafter, a subroutine scans to see if there are any users that are already in the system and which course id they are enrolled in once they click on "Apply | Save | Create or similar" when they create the course correct?