This commit is contained in:
Your Name 2021-11-02 13:38:27 -06:00
parent a4f09de349
commit 15d47c3ffa
2 changed files with 4 additions and 1 deletions

View File

@ -1,2 +1,3 @@
00 23 * * * bash /backup.sh
00 03 * * 7 su pleroma -s /bin/bash -lc "/opt/pleroma/bin/pleroma_ctl database prune_objects"
05 03 * * 7 su pleroma -s /bin/bash -lc "/opt/pleroma/bin/pleroma_ctl database ensure_expiration"

View File

@ -1,2 +1,4 @@
00 23 * * * bash /backup.sh
00 04 * * 7 su postgres -s $SHELL -lc "/usr/lib/postgresql/12/bin/psql -d pleroma -c 'vacuum(full,analyse,verbose);'"