Removed API import script
Running SQL is MUCH faster Signed-off-by: Markus Birth <markus@birth-online.de>
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
#!/bin/sh
|
||||
DWI_HOST=dawarich.example.org
|
||||
DWI_APIKEY=0123456789abcdef
|
||||
cat converted.txt | while read line; do
|
||||
#echo $line
|
||||
curl "https://${DWI_HOST}/api/v1/owntracks/points?api_key=${DWI_APIKEY}" \
|
||||
--retry 99 \
|
||||
--retry-delay 5 \
|
||||
--retry-all-errors \
|
||||
--json "$line"
|
||||
done
|
||||
Reference in New Issue
Block a user