Changeset 7106 for trunk/MagicSoft/Mars/datacenter/scripts/correcttime
- Timestamp:
- 05/30/05 17:28:19 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.