Updated scripts
This commit is contained in:
parent
513ef29ca3
commit
2746b53ca2
125693
Update Missing/archive/20220404.mcl
Normal file
125693
Update Missing/archive/20220404.mcl
Normal file
File diff suppressed because one or more lines are too long
@ -2,16 +2,20 @@
|
||||
|
||||
d=`date +%Y%m%d`
|
||||
|
||||
echo "Todays date $d"
|
||||
|
||||
#echo "Todays date $d"
|
||||
#mv "missing.mcl" "missing_old.mcl"
|
||||
|
||||
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
|
||||
|
||||
cp "$d"".mcl" "$d""_latest.mcl"
|
||||
mv "$fromdate""_latest.mcl" "archive/""$fromdate"".mcl"
|
||||
|
||||
git add "$d""_latest.mcl" "archive/"
|
||||
git commit -m "Updated $d"
|
||||
|
||||
git push origin master
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user