Compare commits
5 Commits
a6b7b3891f
...
c3ab8da109
| Author | SHA1 | Date | |
|---|---|---|---|
| c3ab8da109 | |||
| 6b998bd707 | |||
| cf92b4c2a4 | |||
| b16cd2a704 | |||
| fd1779d6cc |
@@ -44,7 +44,7 @@ except FileExistsError:
|
|||||||
# print("crontab job already exist", item)
|
# print("crontab job already exist", item)
|
||||||
# is_exist=True
|
# is_exist=True
|
||||||
# break
|
# break
|
||||||
|
#####
|
||||||
#if not is_exist:
|
#if not is_exist:
|
||||||
#test
|
#test
|
||||||
# cron_job = cron.new(user_bin + os.sep + "pull_and_push >> " + my_logfile)
|
# cron_job = cron.new(user_bin + os.sep + "pull_and_push >> " + my_logfile)
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ class my_git():
|
|||||||
my_git.git_push(self, git_folder=git_folder_s)
|
my_git.git_push(self, git_folder=git_folder_s)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
#print(datetime.datetime.now().strftime("%d.%m.%Y %H:%M:%S") + " start...")
|
print(datetime.datetime.now().strftime("%d.%m.%Y %H:%M:%S") + " start...")
|
||||||
check_my_git = my_git(check_folder= os.sep + "home" + os.sep + os.environ["USER"] + os.sep + "Projekte")
|
check_my_git = my_git(check_folder= os.sep + "home" + os.sep + os.environ["USER"] + os.sep + "Projekte")
|
||||||
check_my_git.git_main()
|
check_my_git.git_main()
|
||||||
#print(datetime.datetime.now().strftime("%d.%m.%Y %H:%M:%S") + " ...end")
|
print(datetime.datetime.now().strftime("%d.%m.%Y %H:%M:%S") + " ...end")
|
||||||
|
|||||||
Reference in New Issue
Block a user