Add a way to stop submission check, in case of huge bruteforce attack
This commit is contained in:
parent
5f271ed858
commit
13b1ac66fc
|
@ -32,7 +32,7 @@ do
|
|||
./synchro.sh delete >> ./logs/synchro.log 2>&1
|
||||
fi
|
||||
|
||||
if [ `ls submission | wc -l` -gt 1 ]
|
||||
if [ `ls submission | wc -l` -gt 1 ] && [ -f submission/submission ]
|
||||
then
|
||||
./clear_cache.sh top >> ./logs/clear_cache.log
|
||||
./check.pl 2>> ./logs/checks.log >> "$TMPF"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
If this file is not present, no check will be performed when user validate their solutions
|
Loading…
Reference in New Issue