first commit

This commit is contained in:
zhenai 2024-01-20 01:43:11 +08:00
commit 31d806a59f
1 changed files with 13 additions and 0 deletions

13
git.py Executable file
View File

@ -0,0 +1,13 @@
import os
import time
git = '06:00:00'
def got():
import time
time = time.strftime('%T')
#print(time)
if time == git:
os.system('./git.sh')
print('已经完成今天的备份,时间是:',time)
while True:
time.sleep(1)
got()