- Timestamp:
- 11/03/10 16:48:10 (14 years ago)
- Location:
- trunk/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/Changelog
r10045 r10048 18 18 19 19 -*-*- 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 20 29 21 30 2010/10/28 Thomas Bretz -
trunk/Mars/datacenter/scripts/copyoutput
r10042 r10048 79 79 80 80 # 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="$sitekey81 query="SELECT "${prims[@]}" FROM "$step"Status WHERE NOT ISNULL(fStartTime) AND NOT ISNULL(fStopTime) AND ISNULL(fAvailable) AND ISNULL(fReturnCode) AND fProcessingSiteKEY="$sitekey 82 82 primstocopy=( `sendquery` ) 83 83 num=`expr ${#primstocopy[@]} / ${#prims[@]} ` … … 94 94 filenum=${primstocopy[$s+$s+1]} 95 95 printprocesslog "INFO copying corsika files for run "$runnum" file "$filenum 96 echo "INFO copying corsika files for run "$runnum" file "$filenum97 96 extension=`printf %08d $runnum | cut -c 1-4`/`printf %08d $runnum | cut -c 5-8` 98 97 cd $mcpath/$program
Note:
See TracChangeset
for help on using the changeset viewer.