#!/bin/sh
# this script is started repeatedly by the script midcheck
# and launches Midas in parallel mode
# 
mycount=0
while [ $mycount -ne 15 ]
do
    inmidas -P -j "@@ doit $1 $mycount; bye"
    mycount=$(( $mycount + 1 ))
    echo "midasparallel $1 - loop no. $mycount "
done
exit 0
