解决方案有三个:
我用的第一个
1.screen 插件安装 screen -dmS win
screen -l
2.pm2守护进程 https://github.com/Unitech/PM2
3.nodup 命令,我用了感觉不好用 不用的时候记得要kill进程
eg:
nohup /root/test.sh &
解决方案有三个:
我用的第一个
1.screen 插件安装 screen -dmS win
screen -l
2.pm2守护进程 https://github.com/Unitech/PM2
3.nodup 命令,我用了感觉不好用 不用的时候记得要kill进程
eg:
nohup /root/test.sh &