This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############## | |
## Mattermost Data Retention Purge Script | |
## Written by: Jeff Lehman, N8ACL | |
## Date Created: 05/30/2021 | |
## Date Last Updated: 05/30/2021 | |
## | |
## Since in the free version of Mattermost, there is no data retension policy that can be set like in the Enterprise Version, we have to do it on our own. | |
## This script is used to delete any posts and files over 6 Months old. This is to help keep the server clean and not fill up. |