ADD os.mkdir(C:Scripte) to create_service.py

This commit is contained in:
2023-09-03 22:26:55 +02:00
parent 209dae74d8
commit d9145ec7db
7 changed files with 276 additions and 93 deletions
+9
View File
@@ -0,0 +1,9 @@
from datetime import datetime
import time
while True:
current_time = datetime.now().strftime("%H:%M")
with open("log.txt", "a") as datei:
datei.writelines(f"{current_time}TEst Log Service run" + "\n")
time.sleep(60)