###################################################################### # MDI Crontab file, MDISAS # # 2-Apr-2004: HHT - Started file # 12-Aug-2004: SEG - Changing monthly archiving of sci160k files from # 7 days to 30 days, changing archiving of sci5k # files from 20 to 30 days as well. # # 29-Nov-2004: SEG - Changing monthly archiving of /sas4/log/sci5k to # 20 days. # # 28-Jul-2005: SEG - Reducing monthly archiving of /sas12/log/sci160k to # 20 days. # # 29-Jul-2005: SEG - Changing monthly archiving of everything from 20 days # 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 > /home/mdi/Iscreen12_snap 2>&1 2 * * * * /mdisw/bin/new_screen30_snap > /home/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. # # Confirmed working on sas2, but is currently running on TLM -Hao #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 # # Confirmed working on sas2, but is currently running on TLM - Hao #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='/usr/local/apache2/public_html/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='/usr/local/apache2/public_html/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='/usr/local/apache2/public_html/movies/mov_hr_mag.qt' -ndays=7 # # ###################################################################### # # ---- Stuff running once a day # ###################################################################### # check_sci5k_trunc - Generates the "sci5k truncation warning" mail messages. # update-dsn-schedule - Update the /mdisw/plan/ecs files and mails it out # opslog_archive - Copy current month opslog files to /mdisw/ops/opslogs # 48 02 * * * /mdisw/bin/idlbatch_mdi check_sci5k_trunc ~/Icheck_sci5k_trunc 48 03 * * * /mdisw/bin/all_instances 48 06 * * * /mdisw/bin/update-dsn-schedule 48 23 * * * /mdisw/bin/opslog_archive # ## * 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 # # sync_cfl script # Note: "import" and "export" are relative to the master directory (which # is on mdicmd), rather than to the current machine! #03 23 * * * /md87/people/mdi/bin/sync_cfl_caller # 48 04 * * * /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="/sas4" -exclude='^([\.\+]|q_)' # ## ---- Start a new decom file every night at midnight UT (8pm local) 00 20 * * * echo "/mdisw/bin/opend" | csh # ###################################################################### # ## Periodic file cleanup... # ###################################################################### ## ---- archive opslog files older than 60 days 28 01 * * * /mdisw/bin/monthly-archive -delay=60 -pattern='.hst|.opslog' -archive='archive' /sas4/log/history # ## ---- delete tm_log files older than 30 days 28 02 * * * /mdisw/bin/monthly-archive -rm -delay='30' -pattern='^[^\.]' /sas4/tmp/tm_log # ## ---- delete sci5k telemetry files older than 30 days 28 03 * * * /mdisw/bin/monthly-archive -rm -delay='30' -pattern='^[^\.]' /sas4/log/sci5k # ## ---- delete sci160k telemetry files older than 30 days 28 04 * * * /mdisw/bin/monthly-archive -rm -delay='30' -pattern='^[^\.]' /sas12/log/sci160k # ## ---- delete done_ecs files older than 30 days 28 05 * * * /mdisw/bin/monthly-archive -rm -delay='30' -pattern='^[^\.]' /sas4/ecs/done_ecs # ## ---- delete sci5k fits files older than 30 days 28 06 * * * /mdisw/bin/monthly-archive -rm -delay='30' -pattern='^[^\.]' /sas12/fits/sci5k/lev0/0* # ###################################################################### # Monthly: Clean up planning files into archive subdirs # (Runs at 1:09 on the 1st of each month) 09 01 01 * * /mdisw/bin/monthly-archive -pattern='[EIK]AP$' -archive='archive' /mdisw/plan/iap_kap #last line ######################################################################