commit 31d806a59f422cd55176bc873faf818132fb01c5 Author: zhenai Date: Sat Jan 20 01:43:11 2024 +0800 first commit diff --git a/git.py b/git.py new file mode 100755 index 00000000..ac3dc15c --- /dev/null +++ b/git.py @@ -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()