progress
This commit is contained in:
parent
85534b130a
commit
b08ffbb73b
@ -1 +1 @@
|
|||||||
0.9.8
|
0.9.9
|
||||||
|
|||||||
23
scripts/crypto_hist_md/crypto_md_day.sh
Normal file
23
scripts/crypto_hist_md/crypto_md_day.sh
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
host=${1}
|
||||||
|
date=${2}
|
||||||
|
|
||||||
|
DockerRegistry=cloud21.cvtt.vpn:5500
|
||||||
|
DockerImage=${DockerRegistry}/crypto_md_day
|
||||||
|
|
||||||
|
if [ -z ${date} ] ; then
|
||||||
|
date=$(date -d "yesterday" +%Y%m%d)
|
||||||
|
fi
|
||||||
|
|
||||||
|
Cmd="docker run"
|
||||||
|
Cmd="${Cmd} --network=host"
|
||||||
|
Cmd="${Cmd} --name=crypto_md_day.${host}.${date}"
|
||||||
|
Cmd="${Cmd} --rm"
|
||||||
|
Cmd="${Cmd} ${DockerImage}"
|
||||||
|
Cmd="${Cmd} -h ${host}"
|
||||||
|
Cmd="${Cmd} -d ${date}"
|
||||||
|
Cmd="${Cmd} -s coinbase,bnbspot,bnbfut"
|
||||||
|
|
||||||
|
echo $Cmd
|
||||||
|
eval $Cmd
|
||||||
Loading…
x
Reference in New Issue
Block a user