Moodle 2.1 LDAP Sync Users
I am currently running Moodle 2.1 and have successfully established LDAP authentication so users registered in my Active Directory can log on without needing to register.
I now would like to sync the 300+ users from AD to Moodle.
I have read alot about the 'sync_users.php' in C:\inetpub\wwwroot\Moodle\auth\ldap\cli but I cannot seem to run the file (done through a web browser using the Moodle pathway eg moodle2/moodle etc). I am given a blank white screen. When I decided to edit it I added in the config.php location and finally got "Command line scripts can not be executed from the web interface".
Other forums suggest this should be run through Cron, which I have established as a Scheduled task every 5mins, I do not know how to add the sync_users.php to the Cron jobs however.
Please can somebody help.