Inactive User Cleanup

Administration tools ::: tool_inactive_user_cleanup
Maintained by DualCube Team
The inactive user cleanup is a useful solution that deletes an inactive user's account automatically. Additionally, the solution sends users emails informing them before deleting their account. Thus, if a learner logs in before the account is deleted, he or she will not be removed from the system.

Inactive User Cleanup 2.7.4 (Build: 2024052900)

Moodle 4.0, 4.1, 4.2, 4.3, 4.4
Released: Wednesday, May 29, 2024, 9:18 PM

Admin Tool: Inactive User Cleanup

Installation

  1. Go to Site administration > Plugins > Install plugins and upload or drag & drop the downloaded ZIP file.
  2. To install, place all downloaded files in /admin/tool/inactive_user_cleanup and visit /admin/index.php in your browser.
  3. This block is developed by DualCube admin@dualcube.com.

Overview

This plugin deletes inactive user accounts after a certain number of days set by the admin, and sends a mail to the user for login before the deletion date. This cleanup process runs with Moodle cron job.

Setup

  1. Set the number of days of inactivity in the first step, which determines when users receive an email after that many days of inactivity. (If set to "0", the cleanup process will be disabled)
  2. Next, set the "Days Before Deletion," which is the notice period for inactive users before deletion. (If set to "0", then deletion will be disabled)
  3. Draft notification emails for all users from Site administration > Reports > Inactive User Cleanup.
  4. If an inactive user is found, they receive the notification email of their removal.

Clean up

  1. After receiving the notification email, if the user still has not accessed the Moodle site, the deletion process starts.
  2. The particular inactive user account entry is removed with the next run of this cleanup process.
  3. This is automatically or manually run by the cron process.

Setting Panel

If you want to directly access, you can use this link: [www.yoursitename/admin/tool/inactive_user_cleanup/index.php]

Or follow this procedure: Site administration > Reports > Inactive User Cleanup

  • If settings are required for this cleanup process.
  • Days of Inactivity is set by the admin user.
  • Days Before Deletion is set to zero when the admin just wants to notify the inactive user to access the site in the first step. After that, when the user wants to run the cleanup process, Days Before Deletion will be set by the admin user.

Email Setting

  • Admin user must set the subject and body text of the email, which the notified inactive user can receive the mail with correct words.

Cron Process

Uninstall

  • Admin can uninstall this admin tool from Site administration > Plugins > Admin tools > Manage Admin Tools [Inactive User Cleanup]

Version information

Version build number
2024052900
Version release name
2.7.4 (Build: 2024052900)
Maturity
Stable version
MD5 Sum
34bd582e37b9829b724cb4a7934a7cfa
Supported software
Moodle 4.0, Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4

Version control information

Version control system (VCS)
Other...
VCS repository URL

Default installation instructions for plugins of the type Administration tools

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "mytool") in the "admin/tool" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation