Changeset 7905 for trunk


Ignore:
Timestamp:
08/22/06 09:32:03 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/jobmanager

    r7904 r7905  
    9595     
    9696      echo "  ---> starting $pno ${scripts[$i]}..."
    97       if ! /usr/local/bin/condor_submit -a dir=$scriptsdir -a pno=$pno -a prog=${scripts[$i]} -a date=$date -a hour=`date +\%H` /home/operator/condor/run.condor 2>$errorfile
    98       then
    99          nail -s 'condor problem'  $adrs < $errorfile
    100          echo "condor is not working -> exit"
    101          exit
    102       fi
     97      for (( j=1 ; j <= $pno ; j++ ))
     98      do
     99         echo "$i - $pno -> sleeping...."
     100         sleep 2
     101         if ! /usr/local/bin/condor_submit -a dir=$scriptsdir -a prog=${scripts[$i]} -a date=$date -a hour=`date +\%H` /home/operator/condor/run.condor 2>$errorfile
     102         then
     103            nail -s 'condor problem'  $adrs < $errorfile
     104            echo "condor is not working -> exit"
     105            exit
     106         fi
     107      done
    103108      echo ""
    104109   done
Note: See TracChangeset for help on using the changeset viewer.