EBZ June 1999 SEG 15 Jan 2002 MDITLM CRONTAB -------------- mdi cronjobs ------------ ###################################################################### # MDI Crontab file, MDITLM # # 12-May-1999: - Started file. For the moment, it just calls # dinnerbell periodically. # 24-May-1999: - Put in tabentries similar to mdisas to claen out # ecs, sci160k, and sci5k files # 7-Jul-1999: EBZ - Added opend each night # 16-Jul-1999: EBZ - Replaced mail that goes to convingto to go to mdiops # 20-Jul-1999: EBZ - Removed clnsci5k, clnsci160k, clndoneecs and replaced # with monthly-archive # 8-Sep-1999: EBZ - Added monsci5k cronjob to run all the time # 4-Oct-1999: CED - Added fits, gif, and movie assembly # 8-Dec-1999: RIB - Added clean-up of /md71/tmp/tm_log and # /md71/fits/sci5k/lev0 files # 3-Jan-2000: RIB - Added screen12 and screen30 snapshots # 4-Jan-2000: RIB - Updated times for go_fits_sci160k, go_gif_mag # 5-Jan-2000: RIB - Added go_mon_heath_20m and go_mon_health_6hr # 6-Jan-2000: RIB - Added go_check_dumps # 10-Apr-2000: RIB - Added go_mon_health_1d # 10-Jan-2001: RIB - Fixed output directory for movie making scripts # 15-Feb-2001: RIB - Changed cleanup of /md71/fits/sci5k/lev0 files to 30 days # ###################################################################### #min hour daymo mo daywk cmd ###################################################################### # # ---- Stuff running multiple times an hour # ###################################################################### ## * dinnerbell - Script checks for incoming TM_MGR files. ## * screen12_snap - Makes the screen-12 snapshots. ## * screen30_snap - Makes the screen-30 snapshots. ## * monsci5k - Verifies that monsci5k is running, don't qproc ## this because it runs forever ## * go_mon_health_20m - Assembles the health monitoring pages ## including the 1 day housekeeping plots, the "last-4" & "last-9" ## images, and recent summaries of campaigns run and commanding # 0,20,40 * * * * /mdisw/bin/dinnerbell 1,21,41 * * * * /mdisw/bin/new_screen12_snap > /usr/people/mdi/Iscreen12_snap 2>&1 2 * * * * /mdisw/bin/new_screen30_snap > /usr/people/mdi/Iscreen30_snap 2>&1 3,23,43 * * * * nice /mdisw/bin/idlbatch_mdi go_mon_sci5k ~/Imon_sci5k 5,25,45 * * * * /mdisw/bin/idlbatch_mdi go_mon_health_20m ~/Imon_health_20m # ###################################################################### # # ---- Stuff running multiple times a day # ###################################################################### ## * go_mon_health_6hr - Generates the sci5k and sci160k summary images ## and makes the 10 day housekeeping plots. # 30 2,8,14,20 * * * /mdisw/bin/idlbatch_mdi go_mon_health_6hr ~/Imon_health_6hr # ###################################################################### # Image and movie assembly from tfr files # ## * go_fits_sci160k - generates fits files from the .tfr downlink ## * go_gif_mag - makes gif files from the fits files ## * mk_mdi_movie - assembles gif files into a quicklook movie # 30 1,5,9,13,17,21 * * * /mdisw/bin/idlbatch_mdi go_fits_sci160k ~/Ifits_sci160k 35 1,5,9,13,17,21 * * * /mdisw/bin/idlbatch_mdi go_gif_mag ~/Igif_mag # 50 1,5,9,13,17,21 * * * /mdisw/bin/qproc -qfile='mdi' -timeout=360 /mdisw/bin/mk_mdi_movie -type='fdmag' -out='/md70/web/htdocs/movies/mov_fd_mag.qt' -ndays=7 53 1,5,9,13,17,21 * * * /mdisw/bin/qproc -qfile='mdi' -uniq -timeout=300 /mdisw/bin/mk_mdi_movie -type='fdi' -out='/md70/web/htdocs/movies/mov_fd_igram.qt' -ndays=7 56 1,5,9,13,17,21 * * * /mdisw/bin/qproc -qfile='mdi' -uniq -timeout=300 /mdisw/bin/mk_mdi_movie -type='hrmag' -out='/md70/web/htdocs/movies/mditlm/mov_hr_mag.qt' -ndays=7 # ###################################################################### # # ---- Stuff running once a day # ###################################################################### ## * go_check_dumps - examines recent high rate dump data for errors # 10 4 * * * /mdisw/bin/idlbatch_mdi go_mon_health_1d ~/Imon_health_1d # # ---- Stuff running once a day # ###################################################################### ## * go_check_dumps - examines recent high rate dump data for errors # 10 4 * * * /mdisw/bin/idlbatch_mdi go_mon_health_1d ~/Imon_health_1d 10 7 * * * /mdisw/bin/idlbatch_mdi go_check_dumps ~/Icheck_dumps # ## * start a new decom file every night at midnight UT # 0 20 * * * echo "/mdisw/bin/opend" | csh # ## * sync_cfl script ## Remember that "import" and "export" are relative to the "master" and ## "slave" directories, not to the current machine! This should be ## unsynchronized with the mdisas version of same, which is currently at ## 03:23 every morning. # 10 23 * * * /mdisw/bin/sync_cfl -mail="sync-cfl@mdisas" -import=mail -conflict=mail -export=cp -cfl="mdi_egse_sw/cfl" -dirs="flight,flight-util" -subdirs="src,dep,ip" -master="/md92" -slave="/md70" -exclude='^([\.\+]|q_)' # ###################################################################### # ## ---- sci5k delete done each day for data older than 30 days 55 02 * * * /mdisw/bin/monthly-archive -rm -delay='30' -pattern='^[^\.]' /md72/log/sci5k # ## ---- sci160k delete done each day for data older than 30 days 35 03 * * * /mdisw/bin/monthly-archive -rm -delay='30' -pattern='^[^\.]' /md73/log/sci160k # ## ---- done_ecs delete done each day for data older than 30 days 55 03 * * * /mdisw/bin/monthly-archive -rm -delay='30' -pattern='^[^\.]' /md71/ecs/done_ecs # ## ---- delete tm_log data older than 30 days 35 04 * * * /mdisw/bin/monthly-archive -rm -delay='30' -pattern='^[^\.]' /md71/tmp/tm_log # ## ---- delete processed sci5k data older than 30 days 55 04 * * * /mdisw/bin/monthly-archive -rm -delay='30' -pattern='^[^\.]' /md71/fits/sci5k/lev0/0* # ###################################################################### Truncation and IDL cronjob Checks --------------------------------- # ################################################## # # Runs Once a Day # ################################################## # ---- Checks for truncations in the sci160k data # ---- Checks to make sure idl crons are running 00 10 * * * /usr/people/mdi/check_sci160k_trunc 02 10 * * * /usr/people/mdi/idl_cron_mditlm # ################################################## mdiswms cronjobs ---------------- # mirroring of /mdisw tree (not cfl) 30 1 * * * cd /md80/people/mdiswms/mirror_log; /md80/people/mdiswms/mirror_log/mdisw_distrib.mirror