From 31d806a59f422cd55176bc873faf818132fb01c5 Mon Sep 17 00:00:00 2001 From: zhenai Date: Sat, 20 Jan 2024 01:43:11 +0800 Subject: [PATCH] first commit --- git.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 git.py 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()