Browse Source

灾难测试

zhangbo 11 months ago
parent
commit
b4c3640be7
1 changed files with 1 additions and 2 deletions
  1. 1 2
      write_redis/alg_recsys_recall_02_cfrovn_redis_task.sh

+ 1 - 2
write_redis/alg_recsys_recall_02_cfrovn_redis_task.sh

@@ -1,4 +1,3 @@
-set -ex
 source /etc/profile
 echo $ROV_OFFLINE_ENV
 
@@ -16,7 +15,7 @@ elif [[ $ROV_OFFLINE_ENV == 'pro' ]]; then
   /root/anaconda3/bin/python alg_recsys_recall_02_cfrovn_redis.py $cur_time $cur_h
   if [ $? -ne 0 ]; then
     msg="写redis的任务,cf的rovn用于召回,alg_recsys_recall_02_cfrovn_redis.py: ${cur_time}-${$cur_h} something is wrong."
-    /root/anaconda3/bin/python utils_monitor.py msg
+    /root/anaconda3/bin/python utils_monitor.py ${msg}
   fi
 fi
 echo "结束执行时间:{$(date "+%Y-%m-%d %H:%M:%S")}"