Changeset 18807 for trunk/DataCheck/Transfer
- Timestamp:
- 04/08/17 03:17:03 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Transfer/CheckTransfer.sh
r18778 r18807 321 321 if ! [ $sum -eq ${newdaq[0]} ] 322 322 then 323 printprocesslog "ERROR number of files in whole archive ("$sum") is different from number of files in La Palma ("${newdaq[0]}") ."324 echo "ERROR number of files in whole archive ("$sum") is different from number of files in La Palma ("${newdaq[0]}") ." >> $logfile 2>&1323 printprocesslog "ERROR number of files in whole archive ("$sum") is different from number of files in La Palma ("${newdaq[0]}") for "$date"." 324 echo "ERROR number of files in whole archive ("$sum") is different from number of files in La Palma ("${newdaq[0]}") for "$date"." >> $logfile 2>&1 325 325 numpb=`echo " $numpb + 1 " | bc -l ` 326 326 result1=$result1"1" … … 732 732 # sizephido=( `ssh -i /home_nfs/isdc/fact_opr/.ssh/id_rsa.fact_opr.phido 129.217.160.201 "ls -l $phidorawpath/$rawfile2 2>/dev/null | awk '{ print \\\$5 }'"` ) 733 733 #fi 734 if [ "$sizenewdaq" = "" ] || [ "$sizedaq" = "" ] || [ "$sizezip" = "" ] || [ "$sizedl00" = "" ] || [ "$sizewue" = "" ] || [ [ "$sizefails" = "" ] && [ "$sizearchive" = "" ] ]734 if [ "$sizenewdaq" = "" ] || [ "$sizedaq" = "" ] || [ "$sizezip" = "" ] || [ "$sizedl00" = "" ] || [ "$sizewue" = "" ] || ([ "$sizefails" = "" ] && [ "$sizearchive" = "" ]) 735 735 then 736 736 printprocesslog "WARN one or more of the sizes empty: "$sizenewdaq"(newdaq) "$sizedaq"(daq) "$sizezip"(data) "$sizedl00"(dl) "$sizewue"(wue) "$sizefails"(fails) "$sizearchive"(arch) "
Note:
See TracChangeset
for help on using the changeset viewer.