Skip to content
Snippets Groups Projects
Commit bcedeef4 authored by Xin-Hao Zhu's avatar Xin-Hao Zhu
Browse files

Update delopying scripts

parent 4cb90a7b
No related branches found
No related tags found
No related merge requests found
linux.sh 0 → 100644
export http_proxy=http://proxy.zhuxh.cloud:5868
export https_proxy=http://proxy.zhuxh.cloud:5868
export all_proxy=http://proxy.zhuxh.cloud:5868
screen -S client -X quit
pkill -f "python start_client.py"
pkill -f "python getstat.py"
rm -rf mtcmon-rev
git clone https://git.nju.edu.cn/zhuxh/mtcmon-rev.git
cd mtcmon-rev
nohup python start_client.py > start_client.log 2>&1 &
echo "start_client.py started"
set http_proxy=http://proxy.zhuxh.cloud:5868
set https_proxy=http://proxy.zhuxh.cloud:5868
set all_proxy=http://proxy.zhuxh.cloud:5868
@REM REM Kill Python processes
@REM taskkill /F /IM python.exe /FI "WINDOWTITLE eq start_client.py*"
@REM taskkill /F /IM python.exe /FI "WINDOWTITLE eq getstat.py*"
REM Remove existing directory and clone the repository
if exist mtcmon-rev rmdir /S /Q mtcmon-rev
git clone https://git.nju.edu.cn/zhuxh/mtcmon-rev.git
cd mtcmon-rev
REM Start the Python script in the background
start /B pythonw start_client.py > start_client.log 2>&1
echo start_client.py started
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment