I've enable the cohort sync plugin and it appears as an option in the enrollment methods in all courses.
For a test, in an existing course, I setup the cohort sync method for a particular cohort that exists.
This cohort is one of the options that appears in the dropdown menu of the "main cohort" field in user profiles.
The sync enrollment method does not automatically sync all users with a matching cohort in their profile field.
Therefore, no users are enrolled in the course via the cohort sync
If I go to the cohort itself, I see no users appearing in the list which I believe is the issue.
Here I can manually add a user to the cohort, check the enrollemnts, and he is listed as enrolled via the cohort sync.
Bur obviously not automatically.
I thought it might be a cron issue so I have manually run cron without any change.
Any ideas as to why all the users with a matching cohort aren't automatically enrolled in this course? Or, do I not understand the function of cohort sync?