From 492507d36df39ac225e4873f60e41f625e4c977b Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Thu, 26 Jun 2025 01:32:50 +0100 Subject: [PATCH] Removed API import script Running SQL is MUCH faster Signed-off-by: Markus Birth --- post-converted.sh | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100755 post-converted.sh diff --git a/post-converted.sh b/post-converted.sh deleted file mode 100755 index 496818d..0000000 --- a/post-converted.sh +++ /dev/null @@ -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