Cohort external database

From MoodleDocs
Revision as of 13:08, 6 June 2019 by koen roggemans (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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.