#!/bin/bash source ~/.bash_profile conda activate rov-offline-py38 cd /data/rov-offline now_date=`date +"%Y%m%d"` echo "now_date: $now_date" # 阈值计算 echo "ad_xgboost_threshold_update start..." python ad_xgboost_threshold_update.py if [ $? -ne 0 ]; then msg = "[ERROR] ad_xgboost_threshold_update.py" echo $msg exit -1 fi echo "ad_xgboost_threshold_update end!"