https://github.com/t-matsuo/delete-mattermost-messages
https://github.com/t-matsuo/delete-mattermost-messages
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/t-matsuo/delete-mattermost-messages
- Owner: t-matsuo
- License: mit
- Created: 2021-02-09T14:59:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-09T15:14:51.000Z (over 4 years ago)
- Last Synced: 2025-01-28T13:49:25.336Z (8 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# delete-mattermost-messages
delete-messages.sh deletes mattermost messages whose channel display name ends with ":{Num}s" or ":{Num}m" or ":{Num}h" or ":{Num}d" or ":{Num}y".
* s
* second
* m
* minute
* h
* hour
* d
* day
* y
* year## Environment variables
* MYSQL_HOST
* default : 127.0.0.1
* MYSQL_PORT
* default : 3306
* MYSQL_DB
* default : mattermost_test
* MYSQL_USER
* default : mmuser
* MYSQL_PWD
* default : mostest