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"