ddrtDeleteCont
ddrtDeleteCont generates simple delete messages and exports them to the real-time double-difference systems. The export mechanism can be email, scp to remote location, or two-step copy to a local directory such as the input directory for the sendfileII program.
The delete message is a file named “<EVID>.del”. It contains one line: DELETE <evid>. The ddrt systems take appropriate actions for this message.
post-proc systems: /home/ncss/ncpp/ddrtFeed/bin
/home/ncss/ncpp/ddrtFeed/delete/config/ddrtDelete.conf
Sample configuration file:
# Config file for delExport # dbase: name of database to connect to for PCS work dbase dcucb PCSgroup TPP PCStable TPP PCSstate DeleteDDRT # sleepTime: how long in seconds to wait to check for next event sleepTime 30 # workDir: directory in which to create arc files workdir /home/ncss/ncpp/ddrtFeed/delete/work # # Destinations: one or more of any of the following: # Directories must already exist! # Mail email-address # Dir temp-dir final-dir # SCP scp-target like user@host:dist_dir Mail ddrt@ldeo.columbia.edu Dir /home/ncss/run/send_arc_mnlodd1/temp /home/ncss/run/send_arc_mnlodd1/send
Cpnfiguration file.
8,18,28,38,48,58 * * * * /home/ncss/ncpp/ddrtFeed/bin/startDDRTDelete > /dev/null
/home/ncss/ncpp/ddrtFeed/delete/log/ddrtDelete.log
/usr/bin/mailx, /usr/bin/scp for distributing the archive file.