This commit is contained in:
Oleg Sheynin 2023-12-26 16:31:57 -05:00
parent 46aa4d0978
commit aa7cf6f08c
2 changed files with 13 additions and 5 deletions

View File

@ -1 +1 @@
0.3.7 0.3.8

View File

@ -1,12 +1,18 @@
#!/bin/sh #!/bin/sh
echo $0 $* | /usr/bin/ts '[%Y-%m-%d %H:%M:%S]' echo $0 $* | /usr/bin/ts '[%Y-%m-%d %H:%M:%S]'
RootDir=/home/oleg # RootDir=/home/oleg/develop/cvtt2
RootDir="${HOME}/prod"
export PYTHONPATH=${RootDir}
# Temporary # Temporary
MmSender=tee MmSender=
# ~/.pyenv/python3.10-venv/bin/python3 ./cvttpy/apps/utils/mmost_sender.py --channel=Status-CVTT --log_level=ERROR 2>&1 > /dev/null MmSender="${MmSender} ${HOME}/.pyenv/python3.10-venv/bin/python3"
MmSender="${MmSender} ${RootDir}/cvttpy/apps/utils/mmost_sender.py"
MmSender="${MmSender} --channel=Status-CVTT"
MmSender="${MmSender} --log_level=ERROR 2>&1 > /dev/null"
Hosts= Hosts=
Hosts="${Hosts} cloud11.cvtt.vpn" Hosts="${Hosts} cloud11.cvtt.vpn"
@ -61,5 +67,7 @@ function storage_check() {
} }
storage_check 2>&1 Cmd="storage_check 2>&1 | ${MmSender}"
echo ${Cmd}
eval ${Cmd}