Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add runallcheckers command #351

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

hannesbraun
Copy link
Contributor

This adds a command called runallcheckers that is accessible through "manage-local.py". The functionality is the same as the "Run all checkers" command in the admin interface. It runs on all expired tasks where the "All checkers finished" flag is not set yet.

The reasoning behind this command is that it can be automatically executed through Cron. This allows tutors to start attesting solutions without the need of an admin or trainer to manually run all checkers after a task expired. Therefore, this probably closes #306. Instead of just setting the "All checker finished" flag, this is a solution that works for all use cases.

I first tried to implement the automation using Python only. However, this is getting tricky as soon as you're using for example Apache and the WSGI for running Praktomat. Then, no python process is constantly running and the automated event couldn't get triggered. Relying on Cron instead seems like a better solution to me.

ifrh pushed a commit to ifrh/Praktomat that referenced this pull request Aug 19, 2022
…d by merging "feature boxplot-taskstatistic" ( KITPraktomatTeam#345 )  .

Update README.md to give more information about installation steps : Fixes KITPraktomatTeam#250 .

Include change sets from KITPraktomatTeam#351 , KITPraktomatTeam#349 , KITPraktomatTeam#348
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Attestation not possible although task expired
1 participant