Better git update in crontab
This commit is contained in:
parent
930651b913
commit
cf037c58e0
|
@ -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.
|
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:
|
The torrent data is updated daily, and to do so, run, or place this in a crontab:
|
||||||
```
|
|
||||||
cd scripts
|
`cd scripts && ./git_update.sh`
|
||||||
./git_update.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
This updates the repository, and rebuilds the sqlite cache necessary for searching.
|
This updates the repository, and rebuilds the sqlite cache necessary for searching.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue