Hi,
The CRON job can be changed to call the Synchronisation script......
MoodleDocs - External Database enrolment - Synchronization Script
A script is provided that can synchronize all your user enrollments at once - both adding and removing user enrolments (and creating courses if specified). The script is called enrol_database_sync.php and is found in the enrol/database/cli folder. This script is meant to be called from a system cronjob to sync moodle enrolments with enrolments in the external database. You need to make sure all the users present in the external enrolments are already created in moodle
Cheers
Frank Smith ©¿©¬
☂ VLE (Moodle) Administrator
Trafford College
[log in to unmask]
f 0161 952 4703 Direct
0161 952 4646 Direct
• 0779 533 8813 Mobile
-----Original Message-----
From: List dedicated to technical discussions about Moodle [mailto:[log in to unmask]] On Behalf Of Hittesh Ahuja
Sent: 08 January 2015 09:35
To: [log in to unmask]
Subject: Re: Moodle 2.4.3 Synchronization Script
Hi Frank,
By Moodle Synchronization Script do you mean the cron sync ?
Regards,
Hittesh
--
--------------------------------------------------------------------------------
This message (and any associated files) is sent in confidence for the addressee only. It may contain confidential or sensitive information. The contents are not to be disclosed to anyone other than the addressee. Unauthorised recipients are requested to preserve this confidentiality and to advise us of any errors in transmission.
Any views or opinions expressed in this e-mail are those of the sender and do not necessarily coincide with those of Trafford College.
--------------------------------------------------------------------------------
|