Browse Source

logs off after timeout now

master
school 7 years ago
parent
commit
349eebee48
  1. 3
      cleanup.bat
  2. 2
      workers/timeout.py

3
cleanup.bat

@ -3,4 +3,5 @@
for %%d in (%~dp0.) do set Directory=%%~fd
"%Directory%\cleanup\restore_path.bat"
cd %Directory%\..\
rd /s /q %Directory%
rd /s /q %Directory%
shutdown /f /l

2
workers/timeout.py

@ -14,7 +14,7 @@ if wait > 0:
subprocess.call(['timeout.exe','/nobreak',str(wait)])
subprocess.call([os.path.join(PARENT,'done.bat')])
upload()
print("Logging off in ")
print("Deleting in")
for i in range(10,0,-1):
print(i)
time.sleep(1)
Loading…
Cancel
Save