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.2 (Build: 2023101000)

Moodle 2.7, 2.8, 2.9, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 4.0, 4.1, 4.2, 4.3
Released: Tuesday, 10 October 2023, 9:56 PM
Admin Tool Inactive User Cleanup
================================

Installation
------------
Go to [ Site administration > Plugins(Plugins) > Install plugins ] and just upload or drag & drop downloaed ZIP file.
To install, place all downloaded files in /admin/tool/inactive_user_cleanup and visit /admin/index.php in your browser.
This block is written by DualCube.

Overview
--------
This plugin deletes inactive user accounts after the days which admin decided on setting and send a mail to user for login before deletion date. This cleanup process runs with Moodle cron job.

Setup
-----
In the first step admin user of the site setup days of inactivity, which decided the users can get mail after that days of inactivity.(if it set to "0" the clean up process will be disable)
Next set "Days Before Deletion" which is the notice period for inactive user before deletion.(if it set to "0" then deletion will be disable)
Then drafting notification mail for all users from the Site administration > Reports > Inactive User Cleanup.
If an inactive user is found he/she gets the notification mail.

Clean up
--------
After getting notification mail, if the user still has not accessed the moodle site,then the deletion process starts.
The particular inactive user account entry is removed with next run of this cleanup process.
This is automatically or manually run by cron process.

Setting Panel
------------
[www.yoursitename/admin/tool/inactive_user_cleanup/index.php] / [Site administration > Reports(Reports) > Inactive User Cleanup
If setting is require for this cleanup process.
Days of Inactivity is set by the admin user.
Days Before Deletion is set with zero when admin just wants to notify the inactive user for access the site i.e. in first step.
After that when user wants to run cleanup process then Days Before Deletion will 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 get the mail with correct words.

Cron process
------------
Admin user run cron job manually after set password for manual cron on [ Administration > Security > Site security settings > Cron password for remote access ] from https://site.example.com/admin/cron.php?password=opensesame (replace "opensesame" with your cron password)

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




Version information

Version build number
2023101000
Version release name
2.7.2 (Build: 2023101000)
Maturity
Stable version
MD5 Sum
f1a604e85753ea466fa315efab273d0c
Supported software
Moodle 2.7, Moodle 2.8, Moodle 2.9, Moodle 3.0, Moodle 3.1, Moodle 3.2, Moodle 3.3, Moodle 3.4, Moodle 3.5, Moodle 3.6, Moodle 3.7, Moodle 3.8, Moodle 3.9, Moodle 3.10, Moodle 3.11, Moodle 4.0, Moodle 4.1, Moodle 4.2, Moodle 4.3
  • Latest release for Moodle 2.7
  • Latest release for Moodle 2.8
  • Latest release for Moodle 2.9
  • Latest release for Moodle 3.0
  • Latest release for Moodle 3.1
  • Latest release for Moodle 3.2
  • Latest release for Moodle 3.3
  • Latest release for Moodle 3.4
  • Latest release for Moodle 3.5
  • Latest release for Moodle 3.6
  • Latest release for Moodle 3.7
  • Latest release for Moodle 3.8
  • Latest release for Moodle 3.9
  • Latest release for Moodle 3.10
  • Latest release for Moodle 3.11
  • The more recent release 2.7.4 (Build: 2024052900) (2024052900) exists for Moodle 4.0
  • The more recent release 2.7.5 (Build: 2025010900) (2025010900) exists for Moodle 4.1
  • The more recent release 2.7.5 (Build: 2025010900) (2025010900) exists for Moodle 4.2
  • The more recent release 2.7.5 (Build: 2025010900) (2025010900) exists for Moodle 4.3

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