Skip to content
Dan Marsden edited this page May 22, 2018 · 5 revisions

The recompetion plugin adds course level settings for recompletion - clearing all course and activity completion for a user based on a duration, notifying the student they need to return to the course and recomplete it.

This plugin could be used to facilitate annual re-certification.

Setting up a course to facilitate recompletion.

  • Under administration > Advanced features, make sure "Enable completion tracking" is set to yes.
  • In the course settings, make sure "Enable completion tracking" is set to "yes"
  • Add some activities to the course that have activity completion settings configured.
  • Click on the cog at the top right of your course and choose "Course Completion"
  • Set the conditions required for course completion. Note: you must set some conditions, you cannot just set the "completion requirements" option at the top. Save.
  • Click on the cog at the top right of your course and choose "More.." to view all settings/reports for this course. Make sure you can now see "Course completion" listed under "reports". If you cannot see this report then course completion has not been set correctly.
  • Click on the cog at the top right of your course and choose "Course recompletion"
  • Tick the box for "Enable recompletion" and set the recompletion period. (note the seconds/minutes option is only intended for testing and the recompletion scheduled task is set to run hourly by default.) If you want to trigger recompletion faster than 1 hour you will need to run the recompletion task manually or change the frequency under admin > server > scheduled tasks.

Cron

The recompletion requires cron is set up correctly on your site, however if testing the plugin it might be helpful to be aware of the following scheduled tasks.

  • \core\task\completion_regular_task - this task may need to be run multiple times for a users course completion to be marked complete.
  • \local_recompletion\task\check_recompletion - this task is responsible for checking if a recompletion is required.
Clone this wiki locally