In prod, don't display synchro and generation logs

This commit is contained in:
nemunaire 2015-01-16 23:10:42 +01:00 committed by Nemunaire
parent c7335fdadb
commit 7cdd53a0d7

View File

@ -22,18 +22,18 @@ KP1=$!
TMPF=`mktemp`
tail -f "$TMPF" | ./gen_site.pl -d -T /dev/shm -s /tmp/scheduler.sock -bt /challenge/ -ba /challenge-admin/ -o ./out ERRORS HOME all DS &
tail -f "$TMPF" | ./gen_site.pl -d -T /dev/shm -s /tmp/scheduler.sock -bt /challenge/ -ba /challenge-admin/ -o ./out ERRORS HOME all DS >> ./logs/generation.log &
KP2=$!
trap "kill $KP1 $KP2; rm -rf '$TMPF'; echo; kill $$" INT TERM
while ! [ -f /tmp/stop ];
do
./synchro.sh delete
./synchro.sh delete >> ./logs/synchro.log 2>&1
if [ `ls submission | wc -l` -gt 1 ]
then
./clear_cache.sh top
./clear_cache.sh top >> ./logs/clear_cache.log
./check.pl 2>> ./logs/checks.log >> "$TMPF"
else