Browse Source

修改readme

fangjiasheng 2 years ago
parent
commit
dc89b5dccb
1 changed files with 11 additions and 6 deletions
  1. 11 6
      start.md

+ 11 - 6
start.md

@@ -1,20 +1,25 @@
-###### 定时启动+监控命令
+### 更新只需杀进程,会自动重启
+###### 杀掉所有进程
 机器19022
 
-`*/1 * * * * . /etc/profile;/bin/sh; /data/anaconda3/envs/convert3/bin/python /data/fangjiasheng/format_conversion_maxcompute/format_convert/monitor_process_config.py >> /monitor.out`
+`/data/anaconda3/envs/convert3/bin/python /data/fangjiasheng/format_conversion_maxcompute/format_convert/kill_all.py`
 
 机器11022
 
-`*/1 * * * * /data/anaconda3/envs/tf2/bin/python /data/fangjiasheng/format_conversion_maxcompute/format_convert/monitor_process_config.py >> /monitor.out`
+`/data/anaconda3/envs/tf2/bin/python /data/fangjiasheng/format_conversion_maxcompute/format_convert/kill_all.py`
 
-###### 杀掉所有进程
+
+### 以下只需配置至crontab
+
+###### 定时启动+监控命令
 机器19022
 
-`/data/anaconda3/envs/convert3/bin/python /data/fangjiasheng/format_conversion_maxcompute/format_convert/kill_all.py`
+`*/1 * * * * . /etc/profile;/bin/sh; /data/anaconda3/envs/convert3/bin/python /data/fangjiasheng/format_conversion_maxcompute/format_convert/monitor_process_config.py >> /monitor.out`
 
 机器11022
 
-`/data/anaconda3/envs/tf2/bin/python /data/fangjiasheng/format_conversion_maxcompute/format_convert/kill_all.py`
+`*/1 * * * * /data/anaconda3/envs/tf2/bin/python /data/fangjiasheng/format_conversion_maxcompute/format_convert/monitor_process_config.py >> /monitor.out`
+
 
 ###### 定时启动清理docker
 机器19022