]>
description | none |
last change | Fri, 22 Nov 2024 22:01:33 +0000 (23:01 +0100) |
URL | https://git.somenet.org/pub/jan/mattermost-privileged.git |
git remote set-url origin ssh://git@git.somenet.org:2/pub/jan/mattermost-privileged.git | |
git@git.somenet.org:/pub/jan/mattermost-privileged.git |
Beware: These scripts run regularily and are well tested. BUT by using these scripts, MM inc. may refuse to help you, if you run into (unrelated) issues with your MM.
It all started with me starting to write my own DB+FS cleaner, after posting this: https://mattermost.uservoice.com/forums/306457/suggestions/15357861 But eventually grew to include other scripts too.
consider running as cronjobs:
00 23 * * * (cd /srv/mattermost/mattermost-privileged; git pull --recurse-submodules=yes; git gc) &>/dev/null
55 23 * * * (cd /srv/mattermost/mattermost-privileged/maintenance; python3 -Bu db.py |tee /tmp/maintenance_db.log; python3 -Bu fs.py echo ""; du -sch /srv/mattermost/data/* | tail)
59 11 * * MON (cd /srv/mattermost/mattermost-privileged/profile_badges; python3 -Bu main.py)
0 0 * * 2-7 (cd /srv/mattermost/mattermost-privileged/stats; python3 -Bu main.py)
0 0 * * MON (cd /srv/mattermost/mattermost-privileged/stats; python3 -Bu main.py week)
8 years ago | InitialCommit | | commit | shortlog | log |
10 days ago | master | shortlog | log | tree |