|
@@ -1,8 +1,8 @@
|
|
|
source /etc/profile
|
|
|
echo $ROV_OFFLINE_ENV
|
|
|
-if [ ! -d "logs_dir" ]; then
|
|
|
+if [ ! -d "my_logs" ]; then
|
|
|
|
|
|
- mkdir logs_dir
|
|
|
+ mkdir my_logs
|
|
|
fi
|
|
|
cur_time="`date +%Y%m%d`"
|
|
|
cur_h="`date +%H`"
|
|
@@ -10,12 +10,13 @@ echo "开始执行时间:{$cur_time}-{$cur_h}"
|
|
|
|
|
|
if [[ $ROV_OFFLINE_ENV == 'test' ]]; then
|
|
|
cd /root/zhangbo/rov-offline
|
|
|
+ /root/anaconda3/bin/python alg_recsys_recall_1h_region.py &
|
|
|
/root/anaconda3/bin/python alg_recsys_recall_24h_noregion.py &
|
|
|
/root/anaconda3/bin/python alg_recsys_recall_24h_region.py &
|
|
|
-
|
|
|
+ /root/anaconda3/bin/python alg_recsys_recall_1h_noregion.py
|
|
|
wait
|
|
|
echo "并行执行时间:{$(date "+%Y-%m-%d %H:%M:%S")}"
|
|
|
- /root/anaconda3/bin/python alg_recsys_recall_1h_region.py '24h'
|
|
|
+ /root/anaconda3/bin/python alg_recsys_recall_aftermerge.py
|
|
|
echo "结束执行时间:{$(date "+%Y-%m-%d %H:%M:%S")}"
|
|
|
echo "all done"
|
|
|
elif [[ $ROV_OFFLINE_ENV == 'pro' ]]; then
|