Changeset 7106
- Timestamp:
- 05/30/05 17:28:19 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7102 r7106 21 21 22 22 -*-*- END OF LINE -*-*- 23 2005/05/30 Daniela Dorner 24 25 * datacenter/scripts/buildsequenceentries, checkstardone, correcttime, 26 doexclusions, fillcallisto, insertdatasets, runganymed, 27 checkfilesforsequenceavail, copyscript, filesondisk, fillstar 28 runcallisto, runstar, writesequencefiles: 29 - moved two variables from the scripts to the sourcefile 30 31 * datacenter/scripts/runganymed: 32 - changed # of processes 33 34 35 23 36 2005/05/27 Daniela Dorner 24 37 -
trunk/MagicSoft/Mars/datacenter/scripts/buildsequenceentries
r7048 r7106 39 39 year=`date +%Y` 40 40 41 todofile= /magic/datacenter/lists/ToDo-$table-$column.txt41 todofile=$listpath/ToDo-$table-$column.txt 42 42 getstatuslogpath=$logpath/getstatus/buildsequenceentries/$year 43 43 getstatuslog=$getstatuslogpath/getstatus-buildsequenceentries-$datetime.log -
trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail
r7048 r7106 35 35 year=`date +%Y` 36 36 37 todofile= /magic/datacenter/lists/ToDo-$table-$column.txt37 todofile=$listpath/ToDo-$table-$column.txt 38 38 getstatuslogpath=$logpath/getstatus/checkfileavail/$year 39 39 getstatuslog=$getstatuslogpath/getstatus-$table-$column-$datetime.log -
trunk/MagicSoft/Mars/datacenter/scripts/checkstardone
r7074 r7106 35 35 year=`date +%Y` 36 36 37 todofile= /magic/datacenter/lists/ToDo-$table-$column.txt37 todofile=$listpath/ToDo-$table-$column.txt 38 38 getstatuslogpath=$logpath/getstatus/checkstardone/$year 39 39 getstatuslog=$getstatuslogpath/getstatus-$table-$column-$datetime.log -
trunk/MagicSoft/Mars/datacenter/scripts/correcttime
r7030 r7106 35 35 year=`date +%Y` 36 36 37 listdir=/magic/datacenter/lists38 37 getstatuslogpath=$logpath/getstatus/correct_raw_time/$year 39 38 getstatuslog=$getstatuslogpath/getstatus-$table-$column-$datetime.log … … 50 49 51 50 52 if [ -e $list dir/ToDo-$table-$column.txt ]51 if [ -e $listpath/ToDo-$table-$column.txt ] 53 52 then 54 53 echo "correct_raw_time is already running -> exit" … … 66 65 esac 67 66 68 runs=(`cat $list dir/ToDo-$table-$column.txt`)67 runs=(`cat $listpath/ToDo-$table-$column.txt`) 69 68 70 69 if [ "$runs" = "" ] 71 70 then 72 71 echo "nothing to do -> exit" 73 rm -v $list dir/ToDo-$table-$column.txt72 rm -v $listpath/ToDo-$table-$column.txt 74 73 exit 75 74 fi … … 80 79 do 81 80 echo "getting path for run $run ... " 82 infile=`find /magic/data/rawfiles-wrong-timing/ -name *${run}_[D,C,P,S]_*`81 infile=`find $datapath/rawfiles-wrong-timing/ -name *${run}_[D,C,P,S]_*` 83 82 echo "infile:"$infile 84 83 outfile=`echo $infile | sed -e 's/-wrong-timing//g'` … … 136 135 done 137 136 138 rm -v $list dir/ToDo-$table-$column.txt137 rm -v $listpath/ToDo-$table-$column.txt 139 138 -
trunk/MagicSoft/Mars/datacenter/scripts/doexclusions
r7049 r7106 39 39 year=`date +%Y` 40 40 41 todofile= /magic/datacenter/lists/ToDo-$table-$column.txt41 todofile=$listpath/ToDo-$table-$column.txt 42 42 getstatuslogpath=$logpath/getstatus/doexclusions/$year 43 43 getstatuslog=$getstatuslogpath/getstatus-doexcludions-$datetime.log -
trunk/MagicSoft/Mars/datacenter/scripts/filesondisk
r7030 r7106 33 33 34 34 subsystemdir=/magic/subsystemdata 35 rawdir=/magic/data36 35 filesondisklogpath=$logpath/filesondisk/`date +%Y` 37 36 … … 137 136 column=fRawFileAvail 138 137 139 find $ rawdir-name '*.raw' | cut -d_ -f2 > $filename138 find $datapath -name '*.raw' | cut -d_ -f2 > $filename 140 139 141 140 echo "resetting runs..." -
trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto
r7052 r7106 37 37 year=`date +%Y` 38 38 39 todofile= /magic/datacenter/lists/ToDo-$table-$column.txt39 todofile=$listpath/ToDo-$table-$column.txt 40 40 getstatuslogpath=$logpath/getstatus/fillcallisto/$year 41 41 getstatuslog=$getstatuslogpath/getstatus-fillcallisto-$datetime.log … … 106 106 no=`printf %08d $sequence | cut -c 0-4` 107 107 no2=`printf %08d $sequence` 108 path=" /magic/data/callisto/$no/$no2"108 path="$datapath/callisto/$no/$no2" 109 109 signalfile=$path/signal$no2.root 110 110 calibfile=$path/calib$no2.root -
trunk/MagicSoft/Mars/datacenter/scripts/fillstar
r7084 r7106 37 37 year=`date +%Y` 38 38 39 todofile= /magic/datacenter/lists/ToDo-$table-$column.txt39 todofile=$listpath/ToDo-$table-$column.txt 40 40 getstatuslogpath=$logpath/getstatus/fillstar/$year 41 41 getstatuslog=$getstatuslogpath/getstatus-fillstar-$datetime.log … … 106 106 no=`printf %08d $sequence | cut -c 0-4` 107 107 no2=`printf %08d $sequence` 108 path=" /magic/data/star/$no/$no2"108 path="$datapath/star/$no/$no2" 109 109 starfile=$path/star$no2.root 110 110 fillstarlogpath=$logpath/fillstar/$no -
trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
r7051 r7106 40 40 pno=24 # number of processes, i.e. number of todo-files 41 41 42 todofile= /magic/datacenter/lists/ToDo-$table-$column42 todofile=$listpath/ToDo-$table-$column 43 43 getstatuslogpath=$logpath/getstatus/callisto/$year 44 44 getstatuslog=$getstatuslogpath/getstatus-callisto-$datetime.log … … 174 174 no=`printf %08d $sequence | cut -c 0-4` 175 175 no2=`printf %08d $sequence` 176 outpath=" /magic/data/callisto/$no/$no2"176 outpath="$datapath/callisto/$no/$no2" 177 177 echo "outpath: "$outpath >> $scriptlog 2>&1 178 178 if [ ! -d $outpath ] -
trunk/MagicSoft/Mars/datacenter/scripts/runganymed
r7102 r7106 36 36 datetime=`date +%F-%H-%M-%S` 37 37 year=`date +%Y` 38 pno= 24 # number of processes, i.e. number of todo-files39 40 todofile= /magic/datacenter/lists/ToDo-$table-$column38 pno=4 # number of processes, i.e. number of todo-files 39 40 todofile=$listpath/ToDo-$table-$column 41 41 getstatuslogpath=$logpath/getstatus/ganymed/$year 42 42 getstatuslog=$getstatuslogpath/getstatus-ganymed-$datetime.log … … 169 169 no=`printf %08d $dataset | cut -c 0-5` 170 170 no2=`printf %08d $dataset` 171 outpath=" /magic/data/ganymed/$no/$no2"171 outpath="$datapath/ganymed/$no/$no2" 172 172 echo "outpath: "$outpath >> $scriptlog 2>&1 173 173 if [ ! -d $outpath ] -
trunk/MagicSoft/Mars/datacenter/scripts/runstar
r7051 r7106 38 38 pno=24 # number of processes, i.e. number of todo-files 39 39 40 todofile= /magic/datacenter/lists/ToDo-$table-$column40 todofile=$listpath/ToDo-$table-$column 41 41 getstatuslogpath=$logpath/getstatus/star/$year 42 42 getstatuslog=$getstatuslogpath/getstatus-star-$datetime.log … … 169 169 no=`printf %08d $sequence | cut -c 0-4` 170 170 no2=`printf %08d $sequence` 171 outpath=" /magic/data/star/$no/$no2"171 outpath="$datapath/star/$no/$no2" 172 172 inpath=`echo $outpath | sed -e 's/star/callisto/'` 173 173 echo "inpath: "$inpath >> $scriptlog 2>&1 -
trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
r7030 r7106 36 36 37 37 lockpath=/magic/datacenter/locks 38 listpath=/magic/datacenter/lists 38 39 logpath=/magic/datacenter/autologs 40 datapath=/magic/data 39 41 -
trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles
r7052 r7106 37 37 year=`date +%Y` 38 38 39 todofile= /magic/datacenter/lists/ToDo-$table-$column.txt39 todofile=$listpath/ToDo-$table-$column.txt 40 40 getstatuslogpath=$logpath/getstatus/writesequencefiles/$year 41 41 getstatuslog=$getstatuslogpath/getstatus-writesequencefiles-$datetime.log
Note:
See TracChangeset
for help on using the changeset viewer.