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