# 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 # #* * * * * date >> $HOME/monitor/monitor.log 2>&1 * * * * * $HOME/monitor/monitor.pl start >> $HOME/monitor/monitor.log 2>&1 #*/5 * * * * /home/quake/eqnews/bin/fixeqnews.pl > /dev/null 2>&1 #*/5 * * * * java -jar /home/quake/eqnews/jarfiles/eqnewsReader.jar > /home/www/vhosts/earthquake/htdocs/eqcenter/eqinthenews/include/www.usgs.gov.inc.html > /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 # 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 # push shakemaps out to ehp1-4, in case something happens with indexer #11,26,41,56 * * * * /home/www/vhosts/earthquake/cron/push_shakemaps.sh > /dev/null 2>&1 ## end shakemap indexing ################################################################################ # Monitor QDM network output once a day # --------------------- 33 08 * * * $HOME/QDM/monitorQDM.pl > /dev/null 2>&1 # # Email QDDS resend report once a week. # ------------------------------------- #33 09 * * 3 $HOME/QDDS/0_check_resend.email > /dev/null 2>&1 # # Check that QDDS and QDM are running # ----------------------------------- #00,05,10,15,20,25,30,35,40,45,50,55 * * * * $HOME/eqnews/bin/CheckQDDS_QDM_Eqnews.pl > /dev/null 2>&1 #33 23 * * * $HOME/eqnews/bin/CheckQDDS_QDM_Eqnews.pl -p > /dev/null 2>&1 #0 0 * * 1 (cd $HOME/QDDS; mv -f QDDS.log.0 QDDS.log.1; mv -f QDDS.log QDDS.log.0) 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) # # Run process that checks all earthquakes listed in # /webd1/ncweb/eqinthenews/eqinthenews.list or in /home/QDM/catalog/merge.nts # and copies Simpson maps for those that occurred within last 6 days. # Run hourly on the half hour. #30 * * * * $HOME/eqnews/bin/MapCopy.pl > /dev/null # # 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 # # Once a minute, check if new Cap Messages exist and, if so, # move to web directory and generate RSS feeds # disabled by David O on 9/11/2006 # -------------------------------------------------- #* * * * * $HOME/QWCapOutClient/gen_rss.csh > /dev/null 2>&1 # # clean up CAP messages and log files once a day # -------------------------------------------------- #0 1 * * * find $HOME/QWCapOutClient/log -mtime +30 -exec /bin/rm {} \; #0 2 * * * find $HOME/QWCapOutClient/capMessages_sent -mtime +7 -exec /bin/rm {} \; #0 3 * * * find /home/html/earthquake/eqcenter/recenteqsww/catalogs/cap -name USGS-earthquakes\* -mtime +7 -exec /bin/rm {} \; # # Check that EIDS2CAP message program is running and restart if not. # -------------------------------------------------------- #18,38,58 * * * * cd $HOME/QWCapOutClient/; $HOME/QWCapOutClient/runClient > /dev/null 2>&1 # # 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 text file for Google to integrate historic earthquake catalog in Google Earth # -------------------------------------------------------- 0 2 * * * /home/quake/REQS_Google/anss2txt_auto.pl > /dev/null 2>&1 # 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 &