dated directory sim
This commit is contained in:
parent
be49666f73
commit
2fc61c7edc
@ -32,10 +32,10 @@ run_crypto_checklist() {
|
|||||||
Commands=(
|
Commands=(
|
||||||
["hs01:cloud29"]="ssh cvtt@hs01.cvtt.vpn ls -l /works/cvtt/md_archive/crypto/cloud29/${yr}/${mn} | tail -5"
|
["hs01:cloud29"]="ssh cvtt@hs01.cvtt.vpn ls -l /works/cvtt/md_archive/crypto/cloud29/${yr}/${mn} | tail -5"
|
||||||
["hs01:cloud28"]="ssh cvtt@hs01.cvtt.vpn ls -l /works/cvtt/md_archive/crypto/cloud28/${yr}/${mn} | tail -5"
|
["hs01:cloud28"]="ssh cvtt@hs01.cvtt.vpn ls -l /works/cvtt/md_archive/crypto/cloud28/${yr}/${mn} | tail -5"
|
||||||
["hs01:sim"]="ssh cvtt@hs01.cvtt.vpn ls -l /works/cvtt/md_archive/crypto/sim/ | tail -5"
|
["hs01:sim"]="ssh cvtt@hs01.cvtt.vpn ls -l /works/cvtt/md_archive/crypto/sim/${yr}/${mn} | tail -5"
|
||||||
["cloud21:cloud29"]="ssh cvtt@cloud21.cvtt.vpn ls -l /works/cvtt/md_archive/crypto/cloud29/${yr}/${mn} | tail -5"
|
["cloud21:cloud29"]="ssh cvtt@cloud21.cvtt.vpn ls -l /works/cvtt/md_archive/crypto/cloud29/${yr}/${mn} | tail -5"
|
||||||
["cloud21:cloud28"]="ssh cvtt@cloud21.cvtt.vpn ls -l /works/cvtt/md_archive/crypto/cloud28/${yr}/${mn} | tail -5"
|
["cloud21:cloud28"]="ssh cvtt@cloud21.cvtt.vpn ls -l /works/cvtt/md_archive/crypto/cloud28/${yr}/${mn} | tail -5"
|
||||||
["cloud21:sim"]="ssh cvtt@cloud21.cvtt.vpn ls -l /works/cvtt/md_archive/crypto/sim | tail -5"
|
["cloud21:sim"]="ssh cvtt@cloud21.cvtt.vpn ls -l /works/cvtt/md_archive/crypto/sim/${yr}/${mn} | tail -5"
|
||||||
)
|
)
|
||||||
|
|
||||||
for name in $(printf "%s\n" "${!Commands[@]}" | sort); do
|
for name in $(printf "%s\n" "${!Commands[@]}" | sort); do
|
||||||
@ -56,22 +56,23 @@ run_eqt_checklist() {
|
|||||||
echo '```'
|
echo '```'
|
||||||
|
|
||||||
yr=$(date -d 'yesterday' '+%Y')
|
yr=$(date -d 'yesterday' '+%Y')
|
||||||
|
mn=$(date -d 'yesterday' '+%m')
|
||||||
|
|
||||||
CheckSymbols="A/AAPL N/NVDA M/META"
|
CheckSymbols="A/AAPL N/NVDA M/META"
|
||||||
declare -A Commands
|
declare -A Commands
|
||||||
Commands["hs01"]=""
|
Commands["hs01"]=""
|
||||||
for sym in ${CheckSymbols}; do
|
for sym in ${CheckSymbols}; do
|
||||||
Commands["hs01"]+="ssh cvtt@hs01.cvtt.vpn ls -l /works/cvtt/md_archive/equity/alpaca_md/${yr}/${sym} | tail -3; "
|
Commands["hs01"]+="ssh cvtt@hs01.cvtt.vpn ls -l /works/cvtt/md_archive/equity/alpaca_md/${yr}/${sym} | tail -3; "
|
||||||
done
|
done
|
||||||
Commands["hs01:sim"]="ssh cvtt@hs01.cvtt.vpn ls -l /works/cvtt/md_archive/equity/alpaca_md/sim | tail -5"
|
Commands["hs01:sim"]="ssh cvtt@hs01.cvtt.vpn ls -l /works/cvtt/md_archive/equity/alpaca_md/sim/${yr}/${mn} | tail -5"
|
||||||
|
|
||||||
Commands["cloud21"]=""
|
Commands["cloud21"]=""
|
||||||
for sym in ${CheckSymbols}; do
|
for sym in ${CheckSymbols}; do
|
||||||
Commands["cloud21"]+="ssh cvtt@cloud21.cvtt.vpn ls -l /works/cvtt/md_archive/equity/alpaca_md/${yr}/${sym} | tail -3; "
|
Commands["cloud21"]+="ssh cvtt@cloud21.cvtt.vpn ls -l /works/cvtt/md_archive/equity/alpaca_md/${yr}/${sym} | tail -3; "
|
||||||
done
|
done
|
||||||
Commands["cloud21:sim"]="ssh cvtt@cloud21.cvtt.vpn ls -l /works/cvtt/md_archive/equity/alpaca_md/sim | tail -5"
|
Commands["cloud21:sim"]="ssh cvtt@cloud21.cvtt.vpn ls -l /works/cvtt/md_archive/equity/alpaca_md/sim/${yr}/${mn} | tail -5"
|
||||||
|
|
||||||
Commands["gpushnik-eqt"]="ssh cvtt@gpushnik.cvtt.vpn 'ls -l /works/data/eqty_md | tail -10'"
|
Commands["cvtt-dev-server"]="ssh cvtt@cvtt-dev-server.cvtt.vpn 'ls -ltr /works/data/equity/*db* | tail -10'"
|
||||||
Commands["cvtt-dev-server"]="ssh cvtt@cvtt-dev-server.cvtt.vpn 'ls -l /works/data/equity/* | tail -10'"
|
|
||||||
|
|
||||||
|
|
||||||
for name in $(printf "%s\n" "${!Commands[@]}" | sort); do
|
for name in $(printf "%s\n" "${!Commands[@]}" | sort); do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user