Kumi
8148b512e0
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.
28 lines
680 B
Markdown
28 lines
680 B
Markdown
# 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.
|