Ignore:
Timestamp:
05/30/05 17:28:19 (20 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/correcttime

    r7030 r7106  
    3535year=`date +%Y`
    3636
    37 listdir=/magic/datacenter/lists
    3837getstatuslogpath=$logpath/getstatus/correct_raw_time/$year
    3938getstatuslog=$getstatuslogpath/getstatus-$table-$column-$datetime.log
     
    5049
    5150
    52 if [ -e $listdir/ToDo-$table-$column.txt ]
     51if [ -e $listpath/ToDo-$table-$column.txt ]
    5352then
    5453   echo "correct_raw_time is already running -> exit"
     
    6665esac
    6766
    68 runs=(`cat $listdir/ToDo-$table-$column.txt`)
     67runs=(`cat $listpath/ToDo-$table-$column.txt`)
    6968
    7069if [ "$runs" = "" ]
    7170then
    7271   echo "nothing to do -> exit"
    73    rm -v $listdir/ToDo-$table-$column.txt
     72   rm -v $listpath/ToDo-$table-$column.txt
    7473   exit
    7574fi
     
    8079do
    8180  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]_*`
    8382  echo "infile:"$infile
    8483  outfile=`echo $infile | sed -e 's/-wrong-timing//g'`
     
    136135done
    137136
    138 rm -v $listdir/ToDo-$table-$column.txt
     137rm -v $listpath/ToDo-$table-$column.txt
    139138
Note: See TracChangeset for help on using the changeset viewer.