# DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.7rN7abF9NC installed on Thu Feb 3 10:31:51 2005) # (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v 1.12.2.4 2001/06/16 03:18:37 peter Exp $) # EIDS, QDM, EQNEWS, and REQS_* are all managed by this script # monitored programs are configured through # /home/quake/monitor/monitor.config * * * * * $HOME/monitor/monitor.pl start > /dev/null 2>&1 # cache site index, not found pages, and eqinthenews pages as html * * * * * /home/www/vhosts/earthquake/cron/cache.py > /dev/null 2>&1 */5 * * * * /home/quake/eqnews/bin/fixeqnews.pl > /dev/null 2>&1 # check for new CAP messages, also triggers CAP feed update when they arrive * * 1 * * (cd /home/quake/CAP && gzip -f get_CAP_alerts.log) > /dev/null 2>&1 * * * * * /home/quake/CAP/get_CAP_alerts.sh >> /home/quake/CAP/get_CAP_alerts.log 2>&1 ################################################################################ ## shakemap indexing and transfer # should only run on ehpmaster and ehpbackup # pull shakemaps from horst, graben, and mesa # this also triggers the shakemap indexer, which pushes shakemaps "on demand" * * * * * /home/www/vhosts/earthquake/cron/shakemap_pull.sh >> /home/www/vhosts/earthquake/cron/shakemap_pull.log 2>&1 ## end shakemap indexing ################################################################################ # Recenteqs to sections: (Simpson program to plot eqs to Hayward sections pages in EHZ internal website.) # run every 5 minutes 02,07,12,17,22,27,32,37,42,47,52,57 * * * * (cd $HOME/REQS_sections/; $HOME/REQS_sections/req_Sections.csh >> $HOME/REQS_sections/Logs/Section.log 2>&1 ) # rotate Section logfile. 04 01 * * * (cd $HOME/REQS_sections/Logs; mv -f Section.log.0 Section.log.1) 05 01 * * * (cd $HOME/REQS_sections/Logs; mv -f Section.log Section.log.0) # Monitor QDM network output once a day 33 08 * * * $HOME/QDM/monitorQDM.pl > /dev/null 2>&1 # Check that QDM is running 0 0 * * 1 (cd $HOME/QDM; mv -f QDM.log.0 QDM.log.1; mv -f QDM.log QDM.log.0) 0 0 * * 1 (cd $HOME/eqnews; mv -f Eqnews.log.0 Eqnews.log.1; mv -f Eqnews.log Eqnews.log.0) 0 0 * * 1 (cd $HOME/eqnews; mv -f eqnews.log.0 eqnews.log.1; mv -f eqnews.log eqnews.log.0) # Make a daily backup of this file 30 01 * * * (cd $HOME; mv -f crontab.backup.0 crontab.backup.1) 31 01 * * * (cd $HOME; mv -f crontab.backup crontab.backup.0) 32 01 * * * /usr/bin/crontab -l > $HOME/crontab.backup # Create ANSS catlist catalog once a day 15 minutes past GMT midnight for KML generation # following line is for PST 15 16 * * * /bin/csh /home/quake/ANSS_KML/get_ANSS.csh > /dev/null 2>&1 # following line is for PDT #15 17 * * * /bin/csh /home/quake/ANSS_KML/get_ANSS.csh > /dev/null 2>&1 # 05/04/10 -- EMM: LossPAGER indexer * */12 * * * /home/www/apps/LossPager/indexer/index_event.php --reindex >> /home/www/data/LossPager/logs/losspager.cron.log 2>&1 # Create historic earthquake KML file served from earthquake.usgs.gov 0 0 * * * /home/quake/REQS_Google/anss2kml_combinedfeed.pl > /dev/null 2>&1 # Create kml file for Google to integrate historic earthquake catalog in Google Earth 0 2 * * * /home/quake/REQS_Google/anss2txt_auto.pl > /dev/null 2>&1 # Create text file for Google to integrate historic earthquake catalog in Google Earth 30 2 * * * /home/quake/REQS_Google/anss2google_auto.pl > /dev/null 2>&1 ################################################################################ # Clean up stale images in eqcenter sub directories. JHL 27 Aug. 2009 15 1 * * * find /home/www/vhosts/earthquake/htdocs/eqcenter/eqwavesnc/all -name nc\* -mtime +7 -exec rm {} \; 15 1 * * * find /home/www/vhosts/earthquake/htdocs/eqcenter/eqwavesnc/big -name nc\* -mtime +200 -exec rm {} \; 15 1 * * * find /home/www/vhosts/earthquake/htdocs/eqcenter/eqwavesnc/shake -name nc\* -mtime +200 -exec rm {} \; 15 1 * * * find /home/www/vhosts/earthquake/htdocs/eqcenter/helicorders/nca -name nc\* -mtime +12 -exec rm {} \; 15 1 * * * find /home/www/vhosts/earthquake/htdocs/eqcenter/helicorders/longvalley -name nc\* -mtime +12 -exec rm {} \; 15 1 * * * find /home/www/vhosts/earthquake/htdocs/eqcenter/helicorders/crest -name nc\* -mtime +12 -exec rm {} \; 15 1 * * * find /home/www/vhosts/earthquake/htdocs/eqcenter/spectrograms/nca -name nc\*.MOD\* -mtime +15 -exec rm {} \; 15 1 * * * find /home/www/vhosts/earthquake/htdocs/eqcenter/spectrograms/longvalley -name nc\*.MOD\* -mtime +15 -exec rm {} \; 15 1 * * * find /home/www/vhosts/earthquake/htdocs/eqcenter/spectrograms/longvalley2 -name nc\*.MOD\* -mtime +15 -exec rm {} \; ################################################################################ # JF 2008/12/04 # QDM Monitoring Script */5 * * * * /home/www/apps/QDMMonitor/run_monitor.sh >/dev/null 2>&1 # SSM 2009/07/29 # DYFI Indexer Script */2 * * * * /home/www/apps/DYFI/lib/indexer/dyfi.main.sh >> /home/www/data/DYFI/logs/dyfi.error.log 2>&1 # logs output to /home/quake/PD/log/cron_YYYYMMDD.log */5 * * * * /home/quake/PD/bin/cron.sh >/dev/null 2>&1 # 09/17/2008 -- EMM: 7 Day EQ Animations # 10/16/2008 -- EMM: Updated for the SVN paths. # 03/23/2010 -- SAS: Merged scripts into one script (anim_maps) 4 * * * * /bin/bash /home/www/apps/REQS_Animations/lib/anim_maps >> /home/www/apps/REQS_Animations/lib/anim_maps.log 2>&1 14 7 * * 3 /bin/bash /home/www/apps/REQS_Animations/lib/cleanup >> /home/www/apps/REQS_Animations/lib/cleanup.log 2>&1 # [JF] - make sure realtime data apps are running */5 * * * * cd /home/www/apps/EIDSClient && (echo "# `date`"; ./cube_init.sh start; echo) >>/home/www/data/EIDSClient/croninit.log 2>&1 & */5 * * * * cd /home/www/apps/QDM && (echo "# `date`"; ./qdm_init.sh start; echo) >>/home/www/data/QDM/croninit.log 2>&1 & */5 * * * * cd /home/www/apps/EIDSServer && (echo "# `date`"; ./server_init.sh start; echo) >>/home/www/data/EIDSServer/croninit.log 2>&1 & */5 * * * * cd /home/www/apps/ProductClient && (echo "# `date`"; ./client_init.sh start; echo) >>/home/www/apps/ProductClient/croninit.log 2>&1 &