add some scripts

This commit is contained in:
2020-12-25 16:15:48 +03:00
parent f7dbd7e625
commit dff0f9e43f
4 changed files with 119 additions and 8 deletions

View File

@@ -0,0 +1,24 @@
#!/bin/bash
export http_proxy=""
A="-5:00:00"
H="2:00:00"
function sendcmd(){
echo $1 | nc localhost 10001 -q10
}
#lower limit is 0
sendcmd ":So0#"
sendcmd ":Sz${A}#"
sendcmd ":Sa${H}#"
sendcmd ":MA#"
#while true; do
# ANS=$(sendcmd ":Gstat#")
# echo $ANS
# [ $ANS == "0#" ] && break
# sleep 2
#done