From a6122fbbc46d5271615821667c32b40947126410 Mon Sep 17 00:00:00 2001 From: Frederik Baerentsen Date: Fri, 8 Jul 2022 10:40:47 +0200 Subject: [PATCH] Updated scripts --- Update Missing/update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Update Missing/update.sh b/Update Missing/update.sh index 19ef4ba..4a96cca 100644 --- a/Update Missing/update.sh +++ b/Update Missing/update.sh @@ -1,4 +1,5 @@ #!/bin/bash +source ../apikey d=`date +%Y%m%d` @@ -9,7 +10,7 @@ fromdate=$(ls -1 *_latest.mcl |grep -Eo '[[:digit:]]{8}') #echo "Last date run $fromdate" -python2 "update_missing.py" "$fromdate""_latest.mcl" "$d"".mcl" $fromdate $d +python2 "update_missing.py" "$fromdate""_latest.mcl" "$d"".mcl" $api_key $fromdate $d cp "$d"".mcl" "$d""_latest.mcl" mv "$fromdate""_latest.mcl" "archive/""$fromdate"".mcl"