From cf037c58e09bf29990a155a7015394e8e70dea7c Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 12 Feb 2019 16:33:27 -0800 Subject: [PATCH] Better git update in crontab --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 12daf36..1bb1897 100644 --- a/README.md +++ b/README.md @@ -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.