Updated scripts
This commit is contained in:
parent
2746b53ca2
commit
a6122fbbc4
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
source ../apikey
|
||||||
|
|
||||||
d=`date +%Y%m%d`
|
d=`date +%Y%m%d`
|
||||||
|
|
||||||
@ -9,7 +10,7 @@ fromdate=$(ls -1 *_latest.mcl |grep -Eo '[[:digit:]]{8}')
|
|||||||
|
|
||||||
#echo "Last date run $fromdate"
|
#echo "Last date run $fromdate"
|
||||||
|
|
||||||
python2 "update_missing.py" "$fromdate""_latest.mcl" "$d"".mcl" <API KEY> $fromdate $d
|
python2 "update_missing.py" "$fromdate""_latest.mcl" "$d"".mcl" $api_key $fromdate $d
|
||||||
|
|
||||||
cp "$d"".mcl" "$d""_latest.mcl"
|
cp "$d"".mcl" "$d""_latest.mcl"
|
||||||
mv "$fromdate""_latest.mcl" "archive/""$fromdate"".mcl"
|
mv "$fromdate""_latest.mcl" "archive/""$fromdate"".mcl"
|
||||||
|
Loading…
Reference in New Issue
Block a user