liqian hace 1 año
padre
commit
f232f3e76f
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5 5
      rank_score_update_task.sh

+ 5 - 5
rank_score_update_task.sh

@@ -13,7 +13,7 @@ fi
 mkdir -p ./data/
 
 # 1. 获取24h数据
-python export_24h_vid.py  ${now_date}
+/root/anaconda3/bin/python export_24h_vid.py  ${now_date}
 if [ $? -ne 0 ];
 then
     msg = "[ERROR] sorted extract_vid_log"
@@ -22,7 +22,7 @@ then
 fi
 
 # 2. 获取小时级数据
-python export_hour_vid.py ${now_date}
+/root/anaconda3/bin/python export_hour_vid.py ${now_date}
 if [ $? -ne 0 ];
 then
     msg = "[ERROR] sorted extract_hour_log"
@@ -31,7 +31,7 @@ then
 fi
 
 # 3. 计算24h分值
-python cal_24h_score.py ${now_date}
+/root/anaconda3/bin/python cal_24h_score.py ${now_date}
 if [ $? -ne 0 ];
 then
     msg = "[ERROR] cal  ctr "
@@ -40,7 +40,7 @@ then
 fi
 
 # 4. 计算小时级分值
-python cal_hour_score.py ${now_date}
+/root/anaconda3/bin/python cal_hour_score.py ${now_date}
 if [ $? -ne 0 ];
 then
     msg = "[ERROR] cal hour ctr "
@@ -49,7 +49,7 @@ then
 fi
 
 # 5. 分值合并
-python compose_score.py ${now_date}
+/root/anaconda3/bin/python compose_score.py ${now_date}
 if [ $? -ne 0 ];
 then
     msg = "[ERROR] cal compose_score "