server scripts
This commit is contained in:
parent
2303b04e79
commit
b5d51fb79c
7 changed files with 56 additions and 0 deletions
6
scripts/server_bin/db_maint.sh
Executable file
6
scripts/server_bin/db_maint.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
#maintenance
|
||||
echo "--- DATABASE MAINTENANCE ---"
|
||||
cd $HOME/gallery-dl
|
||||
sqlite3 archive.sqlite3 'VACUUM;'
|
||||
echo "--- MAINTENANCE COMPLETE ---"
|
Loading…
Add table
Add a link
Reference in a new issue