|
@@ -66,7 +66,7 @@ check_run_status() {
|
|
|
if [ $status -ne 0 ]; then
|
|
|
echo "$LOG_PREFIX -- ${step_name}失败: 耗时 $step_elapsed"
|
|
|
local elapsed=$(($step_end_time - $start_time))
|
|
|
- # /root/anaconda3/bin/python ${sh_path}/ad_monitor_util.py --level error --msg "$msg" --start "$start_time" --elapsed "$elapsed"
|
|
|
+ /root/anaconda3/bin/python ${sh_path}/ad_monitor_util.py --level error --msg "$msg" --start "$start_time" --elapsed "$elapsed"
|
|
|
exit 1
|
|
|
else
|
|
|
echo "$LOG_PREFIX -- ${step_name}成功: 耗时 $step_elapsed"
|
|
@@ -309,7 +309,7 @@ model_upload_oss() {
|
|
|
|
|
|
echo -e "$LOG_PREFIX -- 模型更新完成 -- 模型更新成功: 耗时 $elapsed"
|
|
|
local msg="\n\t - 广告模型文件更新完成 \n\t - 前一天线上模型全天Top差异平均值: ${old_incr_rate_avg} \n\t - 前一天线上模型全天Top差异: ${old_incr_rate_list} \n\t - 前一天新模型全天Top10差异平均值: ${new_incr_rate_avg} \n\t - 前一天新模型全天Top差异: ${new_incr_rate_list} \n\t - 模型上传路径: ${MODEL_OSS_PATH}/${model_name}.tar.gz"
|
|
|
- # /root/anaconda3/bin/python ${sh_path}/ad_monitor_util.py --level info --msg ${msg} --start "${start_time}" --elapsed "${elapsed}"
|
|
|
+ /root/anaconda3/bin/python ${sh_path}/ad_monitor_util.py --level info --msg ${msg} --start "${start_time}" --elapsed "${elapsed}"
|
|
|
}
|
|
|
|
|
|
# 主方法
|