No description
Find a file
Kumi 8148b512e0
Add MIT License and update README
Introduced an MIT license file to the project to clarify the terms under which the software can be used and redistributed. Additionally, the README was enhanced with installation instructions and a usage section for the rake task that purges inactive Zammad customer accounts. The update also includes a disclaimer regarding the use of the task and reaffirms the licensing details.
2023-12-20 09:21:38 +01:00
LICENSE Add MIT License and update README 2023-12-20 09:21:38 +01:00
purge_inactive_users.rake Add new file 2023-12-18 17:09:46 +00:00
README.md Add MIT License and update README 2023-12-20 09:21:38 +01:00

zammad-purge-inactive-users

A rake task to purge Customer accounts from Zammad if they haven't had any open tickets for 30 days.

Installation

  1. Copy the purge_inactive_users.rake file to /opt/zammad/lib/tasks/

  2. Set up a cron job to run the rake task every day at 1am:

0 1 * * * /usr/bin/zammad run rake purge_inactive_users

Usage

The rake task will run every day at 1am and delete any Customer accounts that haven't had any open tickets for 30 days.

Disclaimer

This rake task is provided as-is and without warranty. Use at your own risk.

License

This rake task is released under the MIT License. See the bundled LICENSE file for details.