Commit 6efce04d authored by Matteo Quintiliani's avatar Matteo Quintiliani

Start


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@697 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 7fa9d4cd
#!/bin/sh
DIRBASE=`dirname $0`
DIRFILECHANNEL=/home/sysop/seiscomp/acquisition
LISTFILECHANNEL="nmxp_channelfile_naqs1a.int.ingv.it.txt nmxp_channelfile_naqs1b.int.ingv.it.txt nmxp_channelfile_naqs2b.int.ingv.it.txt"
LISTTOL="NULL 10000 25000 50000"
YEAR=2008
JDAY=-1
FILEOUTPUT=/tmp/nmxp_sds_check_all.log
rm -f $FILEOUTPUT
echo "* * * BEGIN: `date`" >> $FILEOUTPUT
for FILECHANNEL in ${LISTFILECHANNEL}; do
for TOL in ${LISTTOL}; do
echo "" >> $FILEOUTPUT
echo ${FILECHANNEL} >> $FILEOUTPUT
if [ ${TOL} == NULL ]; then
TOL=" "
fi
$DIRBASE/nmxp_sds_check.sh ${DIRFILECHANNEL}/${FILECHANNEL} ${YEAR} ${JDAY} ${TOL} >> $FILEOUTPUT 2>&1
done
done
echo "* * * END: `date`" >> $FILEOUTPUT
cat $FILEOUTPUT | mail -s "nmxp_sds_check_all" quintiliani@ingv.it
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment