Changeset 9457 for trunk/MagicSoft/Mars/datacenter/scripts
- Timestamp:
- 06/12/09 14:32:19 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/jobmanager
r9355 r9457 53 53 pnosweek=( ${pnocorsika[@]} ${pnoreflector[@]} ${pnocamera[@]} ) 54 54 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[@]} ) 55 62 break 56 63 ;; … … 146 153 #get total number of allowed process for current time 147 154 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 149 163 #choose array according to the day of the week 150 164 dayofweek=`date +%u` -
trunk/MagicSoft/Mars/datacenter/scripts/setup
r9170 r9457 75 75 sleeptimelimit=360 #360 76 76 errorsleeptimedefault=60 #60 77 max=42 #maximum number of processes 77 max=42 #maximum number of processes for one script in case there are more than one and the others do not have anything to do 78 totalmax=40 #maximum number of processes (total) overwrites pnototal(we) in case it is smaller 78 79 79 80 #
Note:
See TracChangeset
for help on using the changeset viewer.