Changeset 540 for BAORadio/AmasNancay/hdrfitsextractor.sh
- Timestamp:
- Oct 3, 2011, 10:58:41 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BAORadio/AmasNancay/hdrfitsextractor.sh
r510 r540 48 48 49 49 50 #JEC 1/10/11 Use generic baodaqstatus name 50 51 #get the daq current irod status 51 tag=`${DATE} +%F` 52 OUT1=${publicpath}/baodaqstatus-${tag}.txt 52 #tag=`${DATE} +%F` 53 #OUT1=${publicpath}/baodaqstatus-${tag}.txt 54 OUT1=${publicpath}/baodaqstatus-current.txt 53 55 54 if [ ! -e ${OUT1} ]; then55 $ECHO " We should bring the DAQ status more up to date, this take 1 or 2sec..."56 ${scriptpath}/statusdaq.sh > ${OUT1}56 if [ ! -e ${OUT1} -o ! -r ${OUT1} ]; then 57 $ECHO "FATAL (${scriptName}): ${OUT1} has a problem" 58 exit 1 57 59 fi 60 61 #if [ ! -e ${OUT1} ]; then 62 # $ECHO "We should bring the DAQ status more up to date, this take 1 or 2sec..." 63 # ${scriptpath}/statusdaq.sh > ${OUT1} 64 #fi 58 65 59 66 if [ ! "<${sourceRadio}>" = "<>" ]; then
Note: See TracChangeset
for help on using the changeset viewer.