Ignore:
Timestamp:
06/12/09 14:32:19 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r9355 r9457  
    5353         pnosweek=( ${pnocorsika[@]} ${pnoreflector[@]} ${pnocamera[@]} )
    5454         pnoswe=( ${pnocorsikawe[@]} ${pnoreflectorwe[@]} ${pnocamerawe[@]} )
     55         break
     56         ;;
     57  ctamc) echo "running jobmanager for cta mc" >> $jmscriptlog 2>&1
     58         scripts=( "runsimtel" )
     59         scriptscolname=( "fCorsikaSimtelArray" )
     60         pnosweek=( ${pnosimtel[@]} )
     61         pnoswe=( ${pnosimtelwe[@]} )
    5562         break
    5663         ;;
     
    146153      #get total number of allowed process for current time
    147154      hour=`date +%k`
    148       totalpno=${pnototal[$hour]}
     155      #totalpno=${pnototal[$hour]}
     156      if [ ${pnototal[$hour]} -lt $totalmax ]
     157      then
     158         totalpno=${pnototal[$hour]}
     159      else
     160         totalpno=$totalmax
     161      fi
     162     
    149163      #choose array according to the day of the week
    150164      dayofweek=`date +%u`
Note: See TracChangeset for help on using the changeset viewer.