Commit 2e2198e0 authored by Markus Klinik's avatar Markus Klinik
Browse files

wait 10 minutes

parent ed6d908f
......@@ -190,14 +190,14 @@ def run_once_command() -> None:
def run_command() -> None:
'''<courseName> <folderId> <targetDirectory> <rulesetName>
Server mode. Every 5 minutes, poll for new submissions and grade them.
Server mode. Every 10 minutes, poll for new submissions and grade them.
'''
if len(sys.argv) < 6:
help_command()
return
# 5 minutes
waitTimeSeconds = 300
# wait some minutes
waitTimeSeconds = 600
while True:
run_once_command()
print("Waiting...")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment