|
@@ -751,17 +751,18 @@ def h_timer_check():
|
|
|
send_msg_to_feishu(
|
|
|
webhook=config_.FEISHU_ROBOT['server_robot'].get('webhook'),
|
|
|
key_word=config_.FEISHU_ROBOT['server_robot'].get('key_word'),
|
|
|
- msg_text=f"rov-offline{config_.ENV_TEXT} - 推荐视频数据更新完成\n "
|
|
|
- f"now_date: {datetime.datetime.strftime(now_date, '%Y%m%d%H')}\n"
|
|
|
- f"now_h: {now_h}"
|
|
|
+ msg_text=f"rov-offline{config_.ENV_TEXT} - 推荐视频数据更新完成\n"
|
|
|
+ f"now_date: {datetime.datetime.strftime(now_date, '%Y%m%d')}\n"
|
|
|
+ f"now_h: {now_h}\n"
|
|
|
+ f"finished time: {datetime.datetime.strftime(datetime.datetime.now(), '%Y%m%d %H:%M:%S')}"
|
|
|
)
|
|
|
except Exception as e:
|
|
|
log_.error(f"地域分组小时级数据更新失败, exception: {e}, traceback: {traceback.format_exc()}")
|
|
|
send_msg_to_feishu(
|
|
|
webhook=config_.FEISHU_ROBOT['server_robot'].get('webhook'),
|
|
|
key_word=config_.FEISHU_ROBOT['server_robot'].get('key_word'),
|
|
|
- msg_text=f"rov-offline{config_.ENV_TEXT} - 地域分组小时级数据更新失败\n "
|
|
|
- f"exception: {e}\n "
|
|
|
+ msg_text=f"rov-offline{config_.ENV_TEXT} - 地域分组小时级数据更新失败\n"
|
|
|
+ f"exception: {e}\n"
|
|
|
f"traceback: {traceback.format_exc()}"
|
|
|
)
|
|
|
|