|
@@ -134,6 +134,9 @@ def main():
|
|
|
hour = datetime.now().hour
|
|
|
log_.info("没有读取到参数,采用系统时间:{}".format(e))
|
|
|
log_.info("使用时间参数-日期:{},小时:{}".format(date, str(hour)))
|
|
|
+ if hour in ["00"]:
|
|
|
+ log_.info(f"hour={hour}不执行,直接返回。")
|
|
|
+ return
|
|
|
|
|
|
project = "loghubods"
|
|
|
table = "alg_recsys_feature_title_tags"
|
|
@@ -158,4 +161,4 @@ if __name__ == '__main__':
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|