]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/hbugs/tutors/sabba.sh
start tutors with nice at the lowest priority
[helm.git] / helm / hbugs / tutors / sabba.sh
index 239cd99092673ebba943726a334f69d6c0077db3..988a081f233d30f444a2c957f33063129a4279ee 100755 (executable)
@@ -28,7 +28,7 @@ if [ "$1" = "--help" -o "$1" = "" ]; then
    echo "sabba.sh { start | stop | --help }"
    exit 0
 fi
-. ../../script.sh
+
 ./ls_tutors.ml |
 while read line; do
    tutor=`echo $line | sed 's/\.ml//'`
@@ -38,7 +38,7 @@ while read line; do
       echo "done!"
    elif [ "$1" = "start" ]; then
       echo -n "Starting HBugs tutor $tutor ... "
-      ./$tutor &> run/$tutor.LOG &
+      nice -n 19 ./$tutor &> run/$tutor.LOG &
       echo "done!"
    else
       echo "Uh? Try --help"