|
@@ -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
|