Changeset 10048 for trunk/Mars


Ignore:
Timestamp:
11/03/10 16:48:10 (14 years ago)
Author:
Daniela Dorner
Message:
 
Location:
trunk/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/Changelog

    r10045 r10048  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2010/11/03 Daniela Dorner
     22
     23   * datacenter/scripts/copyoutput:
     24     - changed query so that only successfully processed files are
     25       copied
     26     - removed logging output to use script in cronjob in Dortmund
     27
     28
    2029
    2130 2010/10/28 Thomas Bretz
  • trunk/Mars/datacenter/scripts/copyoutput

    r10042 r10048  
    7979   
    8080   # get primaries for which output has to be copied
    81    query="SELECT "${prims[@]}" FROM "$step"Status WHERE NOT ISNULL(fStartTime) AND NOT ISNULL(fStopTime) AND ISNULL(fAvailable) AND fProcessingSiteKEY="$sitekey
     81   query="SELECT "${prims[@]}" FROM "$step"Status WHERE NOT ISNULL(fStartTime) AND NOT ISNULL(fStopTime) AND ISNULL(fAvailable) AND ISNULL(fReturnCode) AND fProcessingSiteKEY="$sitekey
    8282   primstocopy=( `sendquery` )
    8383   num=`expr ${#primstocopy[@]} / ${#prims[@]} `
     
    9494      filenum=${primstocopy[$s+$s+1]}
    9595      printprocesslog "INFO copying corsika files for run "$runnum" file "$filenum
    96       echo "INFO copying corsika files for run "$runnum" file "$filenum
    9796      extension=`printf %08d $runnum | cut -c 1-4`/`printf %08d $runnum | cut -c 5-8`
    9897      cd $mcpath/$program
Note: See TracChangeset for help on using the changeset viewer.