update
This commit is contained in:
parent
607451d783
commit
d032b21584
|
@ -18,6 +18,7 @@ while True:
|
||||||
# 删除最旧的文件
|
# 删除最旧的文件
|
||||||
os.remove(os.path.join(folder_path, oldest_file))
|
os.remove(os.path.join(folder_path, oldest_file))
|
||||||
else:
|
else:
|
||||||
|
print("文件夹小于20G")
|
||||||
break
|
break
|
||||||
# 等待5秒钟
|
# 等待5秒钟
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
|
|
Loading…
Reference in New Issue