- Timestamp:
- 07/30/08 16:31:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail
r9036 r9054 50 50 51 51 # get todo list 52 getdolist >> $scriptlog 2>&1 53 54 # retrieve sequences from todofile 55 sequences=(`cat $todofile`) 56 if [ "$sequences" = "" ] 57 then 58 echo "nothing to do -> exit" >> $scriptlog 2>&1 59 finish >> $scriptlog 2>&1 60 fi 61 echo "sequences: "${sequences[@]} >> $scriptlog 2>&1 62 rm -v $todofile >> $scriptlog 2>&1 52 gettodo >> $scriptlog 2>&1 63 53 64 54 cd $mars 65 55 66 for sequence in ${sequences[@]} 67 do 56 for (( s=0 ; s < $num ; s++ )) 57 do 58 sequence=${primaries[$s+$s]} 59 telnum=${primaries[$s+$s+1]} 68 60 echo "checking files for sequence $sequence..." >> $scriptlog 2>&1 69 61 printprocesslog "INFO checking files for sequence $sequence" … … 74 66 checkfileavaillog=$checkfileavailpath/$program-$no2.log 75 67 76 primvar=$sequence77 68 setstatus "start" >> $scriptlog 2>&1 78 69 79 check1=`root -q -b $macrospath/checkfileavail.C+\($sequence, 1\) | tee $checkfileavaillog | intgrep`70 check1=`root -q -b $macrospath/checkfileavail.C+\($sequence,$telnum\) | tee $checkfileavaillog | intgrep` 80 71 81 72 case $check1 in
Note:
See TracChangeset
for help on using the changeset viewer.