Better git update in crontab

This commit is contained in:
Dessalines 2019-02-12 16:33:27 -08:00
parent 930651b913
commit cf037c58e0
1 changed files with 3 additions and 5 deletions

View File

@ -37,11 +37,9 @@ and goto http://localhost:8080
If running on a different host, run `export TORRENTS_CSV_ENDPOINT=http://whatever.com` to change the hostname.
The torrent data is updated daily, and to do so, run:
```
cd scripts
./git_update.sh
```
The torrent data is updated daily, and to do so, run, or place this in a crontab:
`cd scripts && ./git_update.sh`
This updates the repository, and rebuilds the sqlite cache necessary for searching.