Hello everyone;
I have initialed overpass database from an extract for the state of Arizona, USA. I replaced "rules_loop.sh" script shipped with source with the following script:
#!/usr/bin/bash
DB_DIR=/mnt/nvme4/op2-meta
EXEC_DIR=/usr/local/bin
RULES_DIR=/usr/local/rules
LOG_FILE=$DB_DIR/logs/op_update_area.log
while [[ true ]]; do
{
echo "`date '+%F %T'`: update started" >>$LOG_FILE
# ./osm3s_query --progress --rules <$DB_DIR/rules/areas.osm3s
ionice -c 2 -n 7 nice -n 19 $EXEC_DIR/osm3s_query --progress --rules <$RULES_DIR/areas.osm3s
echo "`date '+%F %T'`: update finished" >>$LOG_FILE
sleep 3
}; done
Do I need this infinite loop for this small area extract? Is there any alternative?
Thank you all
Wael Hammoudeh
asked
08 May '22, 12:44
Wael
11●3●3●6
accept rate:
0%