Changeset 7944 for trunk/MagicSoft/Mars/datacenter/scripts/mcsequences
- Timestamp:
- 08/25/06 22:09:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/mcsequences
r7938 r7944 34 34 # 35 35 36 source `dirname $0`/sourcefile 37 printprocesslog "INFO starting $0" 36 38 program=mcsequences 37 source `dirname $0`/sourcefile38 39 39 40 set -C 40 41 41 scriptlogpath=$runlogpath/$program 42 makedir $scriptlogpath 43 scriptlog=$scriptlogpath/$program`date +%F`.log 44 42 scriptlog=$runlogpath/$program`date +%F`.log 45 43 date >> $scriptlog 2>&1 46 44 … … 49 47 checklock >> $scriptlog 2>&1 50 48 51 52 49 mcpath=/montecarlo/rawfiles 53 50 mcsequpath=/montecarlo/sequences 54 51 55 52 # find montecarlo directories, build one sequence per directory and write sequence file 53 printprocesslog "INFO building one sequence per mcdirectory" 56 54 dirs=`find $mcpath -type d` 57 55 for dir in ${dirs[@]} … … 83 81 sequfile=$sequpath/sequence$no2.txt 84 82 echo "writing sequfile "$sequfile >> $scriptlog 2>&1 83 printprocesslog "INFO writing sequencefile $sequfile" 85 84 86 85 echo "Sequence: $firstrun" > $sequfile … … 93 92 done 94 93 94 finish >> $scriptlog 2>&1 95 95 96 rm -v $lockfile >> $scriptlog 2>&197 98 set +C99 100 date >> $scriptlog 2>&1101
Note:
See TracChangeset
for help on using the changeset viewer.