Cohort external database: Difference between revisions

From MoodleDocs
Cohort external database
Type Admin tool
Set N/A
Downloads https://moodle.org/plugins/tool_cohortdatabase
Issues https://github.com/catalyst/moodle-tool_cohortdatabase/issues
Discussion
Maintainer(s) Dan Marden, Catalyst IT
(Created page with "{{Infobox plugin |type = Admin tool |entry = https://moodle.org/plugins/tool_cohortdatabase |tracker = https://github.com/catalyst/moodle-tool_cohortdatabase/issues |discussio...")
 
(No difference)

Latest revision as of 13:08, 6 June 2019

Cohort external databaseplugin creates site-level cohorts using a connection to an external database.

  • Can be triggered via CLI and/or scheduled task.
  • Creates site-level cohorts
  • Synchronises users in cohorts
  • Optionally auto create users

Create an external database (various types supported) containing your users and cohorts (username, firstname, lastname, email, cohort).

Using the settings of the plugin on moodle/admin/settings.php?section=tool_cohortdatabase and create mappings to the correct fields of your external database.

For testing, tick tool_cohortdatabase | debugdb and run the synchronisation script on the command line. In moodle/admin/tool/cohortdatabase/cli, execute: php sync.php. Observe the output for possible errors.