server scripts

This commit is contained in:
Stefen Auris 2022-11-26 17:38:29 -05:00
parent 2303b04e79
commit b5d51fb79c
7 changed files with 56 additions and 0 deletions

6
scripts/server_bin/db_maint.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
#maintenance
echo "--- DATABASE MAINTENANCE ---"
cd $HOME/gallery-dl
sqlite3 archive.sqlite3 'VACUUM;'
echo "--- MAINTENANCE COMPLETE ---"