Hello,
I was looking into what scripts is the cron job executing, and two of them were ldap and cas syncs. I went in those php files ( /opt/moodle/enrol/ldap/cli/sync.php and /opt/moodle/auth/cas/cli/sync_users.php) and saw that for ldap it was calling the method sync_enrolments(), and in cas it was calling sync_users(). The same methods are used in the scheduled tasks scripts though, so my question is, what is the difference if I were to have them as scheduled tasks vs cron jobs?
Thank you in advance!
Liana