akkoma/crontab

10 lines
480 B
Plaintext
Raw Normal View History

2023-03-27 09:39:11 -06:00
00 01 * * * bash /backup.sh
30 01 * * * find /saves/ -type f -mtime +3 -exec rm -f {} \;
00 02 * * * su akkoma -s /bin/bash -lc "/opt/akkoma/bin/pleroma_ctl database prune_objects --prune-orphaned-activities"
30 03 * * * su akkoma -s /bin/bash -lc "/opt/akkoma/bin/pleroma_ctl database ensure_expiration"
#00 05 * * * su akkoma -s $SHELL -lc "/opt/akkoma/bin/pleroma restart"
#Postgres
00 04 * * 7 su postgres -s $SHELL -lc "psql -d pleroma -c 'vacuum(full,analyse,verbose);'"