wangkun 2 years ago
parent
commit
b94d972fc4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/run_shipinhao_recommend.py

+ 1 - 1
main/run_shipinhao_recommend.py

@@ -14,7 +14,7 @@ class Main:
     @classmethod
     @classmethod
     def main(cls, env):
     def main(cls, env):
         while True:
         while True:
-            if 20 >= datetime.datetime.now().hour >= 10:
+            if 16 >= datetime.datetime.now().hour >= 10:
                 Recommend.run_recommend('recommend', env)
                 Recommend.run_recommend('recommend', env)
                 Common.del_logs('recommend')
                 Common.del_logs('recommend')
                 Common.logger('recommend').info('休眠{}小时\n', 24 - datetime.datetime.now().hour)
                 Common.logger('recommend').info('休眠{}小时\n', 24 - datetime.datetime.now().hour)