Update print.py
Browse files
print.py
CHANGED
@@ -31,7 +31,7 @@ def log_settings():
|
|
31 |
|
32 |
if __name__ == "__main__":
|
33 |
# 定时任务
|
34 |
-
interval =
|
35 |
while True:
|
36 |
log_settings()
|
37 |
time.sleep(interval)
|
|
|
31 |
|
32 |
if __name__ == "__main__":
|
33 |
# 定时任务
|
34 |
+
interval = 10 # 时间间隔,单位为秒(1小时)
|
35 |
while True:
|
36 |
log_settings()
|
37 |
time.sleep(interval)
|