yf_yzl 2 년 전
부모
커밋
d46f40c2b9
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 6
      crond_script/crond_weather.py

+ 1 - 6
crond_script/crond_weather.py

@@ -115,12 +115,7 @@ def init_data():
 
 def main():
     init_data()
-    # special_time = [0, 8, 16, 17, 15]
-    # while True:
-    #     now = datetime.datetime.now()
-    #     hour = int(now.hour)
-    #     print(hour, "--------------")
-    #     if hour in special_time:
+    logging.warning("up...")
     conn1 = sqlite3.connect(db)
     cursor1 = conn1.cursor()
     sql = """