From a71562ab818fad9d449e908cd2a8ff8b8bc73327 Mon Sep 17 00:00:00 2001 From: Emillio Mariscal Date: Wed, 5 Jul 2023 22:39:09 -0300 Subject: [PATCH] Update doc --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c7b90e25..9b33c9f3 100644 --- a/README.md +++ b/README.md @@ -32,9 +32,13 @@ Select the region you want to work with and bootstrap the database with data. ### 3. Run -For keeping the database up-to-date, you must run underpass. +For keeping the database up-to-date, you must run underpass: -`./underpass -t last` +`./underpass -t $(date +%Y-%m-%dT%H:%M:%S -d "2 days ago")'` + +On MacOS, the date command works different: + +`./underpass -t $(date -v -2d +%Y-%m-%dT%H:%M:%S)` A a process will start downloading and processing OSM data until lastest data is reached, and then it will continue updating data every minute.