|
@@ -13,6 +13,10 @@ if [[ $ROV_OFFLINE_ENV == 'test' ]]; then
|
|
|
/root/anaconda3/bin/python alg_recsys_recall_01_tag2vids_redis.py $cur_time $cur_h
|
|
|
elif [[ $ROV_OFFLINE_ENV == 'pro' ]]; then
|
|
|
/root/anaconda3/bin/python alg_recsys_recall_01_tag2vids_redis.py $cur_time $cur_h
|
|
|
+ if [ $? -ne 0 ]; then
|
|
|
+ msg="写redis的任务,tag到vids的召回,alg_recsys_recall_01_tag2vids_redis.py:${cur_time}-${cur_h}-something-is-wrong."
|
|
|
+ /root/anaconda3/bin/python utils_monitor.py ${msg}
|
|
|
+ fi
|
|
|
fi
|
|
|
echo "结束执行时间:{$(date "+%Y-%m-%d %H:%M:%S")}"
|
|
|
echo "all done"
|