Update print.py
Browse files
print.py
CHANGED
@@ -13,7 +13,7 @@ def read_and_print_file():
|
|
13 |
print(f"An unexpected error occurred: {e}")
|
14 |
|
15 |
# 定时运行
|
16 |
-
interval =
|
17 |
|
18 |
print("Starting task. Press Ctrl+C to stop.")
|
19 |
try:
|
|
|
13 |
print(f"An unexpected error occurred: {e}")
|
14 |
|
15 |
# 定时运行
|
16 |
+
interval = 10 # 设置间隔时间(单位:秒),例如 600 秒(10 分钟)
|
17 |
|
18 |
print("Starting task. Press Ctrl+C to stop.")
|
19 |
try:
|