Hi Paul,
Not tried it.....!
The script apparently synchronises all courses, which is not what I want to do.
I'd rather select courses to reset..........and the normal reset function in a course only unenrols manual enrolments and not external database enrolments
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 Paul Holden
Sent: 08 January 2015 13:07
To: [log in to unmask]
Subject: Re: Moodle 2.4.3 Synchronization Script
What happens when you run the script specified in the docs?
On 08/01/15 10:09, Frank Smith wrote:
> 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
>
--
Paul Holden
Senior Developer
Greenhead College
Huddersfield HD1 4ES
________________________________
This message is sent in confidence for the addressee/s 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. Thank you.
|