Crontab File

All execution is steered via the gomoos user crontab file on micmac. It schedules processing for cell phone, GOES, NOAA, and optics ingests, as well as miscellaneous processing that is not particularly specific to any one buoy. Sometimes a buoy for some reason may miss its appointed time to call in. If so, it will try again later in the hour. For this reason, the script running the normal cell phone processing is invoked twice per hour in order. Consult the crontab ( 5 ) manual page for details on editing a crontab file. A snapshot of the existing crontab file dated August 19, 2003, is found below.


# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.25909 installed on Fri Jun 30 18:18:42 2006)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
MAILTO=""
#
#* * * * *      nice /data/gomoos/buoy/bin/process_last_trans.sh gomoos
#
# Dec. 18th call in schedule
#       Time   Window   Channel       PID   Mooring
#    Min:Sec      Sec      East     0440+        ID
# -------------------------------------------------
#      16:00       60        11      30CE     M0103
#      20:00       30       103      465E     A0105
#      20:30       30       103      5528     B0103
#      21:00       30       103      60B2     C0202
#      21:30       30       103      73C4     J0202
#      22:00       30       103      8340     F0104
#      22:30       30       103      9036     F0106
#      23:00       30       103      A5AC
#      23:30       30       103      B6DA
#      24:00       30       103      C04A
#      24:30       30       103      D33C
#      26:00       30        71      0554     E0105
#      27:00       60        71      1622     I0105
#      28:00       30        71      23B8     L0103
# Run goes processing once for each mooring with a goes transmitter
#
30 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh A0117
30 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh B0113
29 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh C0213
31 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh E0119
28 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh F0114
28 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh I0116
16 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh J0214
29 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh L0111
28 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh M0110
26 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh N0106
#
#goes testing
#
#19 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh A9999
#36 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh B9999
#30 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh C9999
#32 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh E9999
#34 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh F9999
#36 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh I9999
#16 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh J0214
#32 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh L9999
#34 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh M9999
#26 * * * *   nice /data/gomoos/buoy/bin/process_goes.sh N9999
#
# Cellphone processing twice each hour, maybe.
# nore for ekman we added one minute to all times
9,16,20,38,48  * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh A0117
10,16,21,39,49 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh B0113
9,15,22,43,50  * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh C0213
10,15,23,41,51 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh D0102
12,14,22,42,52 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh D0201
11,19,20,38,48 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh E0119
10,16,21,38,49 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh F0114
12,18,22,39,50 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh I0116 
7,11,20,38,42  * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh J0214
9,15,21,41,51  * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh L0111
15,20,40,50    * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh M0110
10,14,39,42,49 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh N0106
#
# and testing
#

#50 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh Z0101
#13,18,40 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh A9999
#15,22,41 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh B9999
12,23,42 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh C9999
#13,19,40 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh E9999
14,24,41 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh F9999
#17 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh I9999
#9,14,32,49 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh J0214
24,45 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh L9999
19,45 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh M9999
11,22,42,49 * * * *  nice /data/gomoos/buoy/bin/process_cellphone.sh N9999

#
#
#Daily buoy processing
#
50 22 * * *   nice /data/gomoos/buoy/bin/process_daily.sh

##gyredead 40 01 * * *  nice /home/gomoos/bin/gomoos_db_backup.sh
#
#
#NOAA
18,38 * * * *   nice /data/gomoos/buoy/bin/process_noaa_buoy.sh
24,44 * * * *  nice /data/gomoos/buoy/bin/recent_obs_noaa_delivery.sh

46 * * * *   nice /data/gomoos/buoy/bin/process_misc_hourly.sh
50 05,10,15 * * * nice /data/gomoos/buoy/bin/mail_most_recent.sh
#
#
#Codar
 2,9,29,49 * * * *   nice /data/gomoos/codar/bin/ingest_codaros_totals.sh
 2,22,42 * * * *   nice /data/gomoos/codar/bin/ingest_codar_radials.sh
 2 6 * * *    nice /data/gomoos/codar/bin/process_daily.sh
#45 * * * *   nice /data/gomoos/codar/bin/hourly_codaros_totals_check.sh
#
#
#
# Make a movie of the last day every few hours.
# Make a movie of the last 7 days once a day.
# Make a movie of the last month once a week.
#0 0,3,6,9,12,15,18,21 * * *       nice /data/gomoos/bin/make_codar_movies.sh daily
#0 0                   * * *       nice /data/gomoos/bin/make_codar_movies.sh weekly
#0 0                   * * 0       nice /data/gomoos/bin/make_codar_movies.sh monthly
#2 0,3,6,9,12,15,18,21 * * *       nice /data/gomoos/bin/make_codaros_totals_movies.sh daily
#2 0                   * * *       nice /data/gomoos/bin/make_codaros_totals_movies.sh weekly
#2 0                   * * 0       nice /data/gomoos/bin/make_codaros_totals_movies.sh monthly
#
#fix historical dates
53 17 * * * nice  /opt/matlab/bin/matlab -nojvm -nosplash -nodisplay -r fix_historical_dates 2>&1 | /bin/mail -s "fix historical dates output" bfleming@umeoce.maine.edu,ljm@umeoce.maine.edu

#
#
# Satellite data
#43 * * * *   nice /data/gomoos/satellite/bin/ingest_satdata.sh mcsst
#47 * * * *   nice /data/gomoos/satellite/bin/ingest_satdata.sh qscat_rt
#52 * * * *   nice /data/gomoos/satellite/bin/ingest_satdata.sh qscat
#52 * * * *   nice /data/gomoos/satellite/bin/ingest_satdata.sh seawifs
# Do the daily satllite processing at 5 past 4am
#50 4 * * *       nice /data/gomoos/satellite/bin/process_daily.sh
#
# generation of comma-delimited (".csv") versions of gomoos buoy netcdf historical files
# (filedates are checked and files are only generated if netcdf file is updated)
52 2 * * *  python24 /data/gomoos/buoy/bin/py/do_historical_csv.py | mail -s "CSV report" bfleming@umeoce.maine.edu
#
# a little daily,hourly and thrice hourly maintenance on call_logs
1        20 * * * nice /data/gomoos/buoy/bin/pack_call_logs.sh DAILY
1        0-19,21-23 * * * nice /data/gomoos/buoy/bin/pack_call_logs.sh
23,40,59 * * * * nice /data/gomoos/buoy/bin/update_call_logs.sh
#
#
# BLUE HILL BAY
# Note... 20 Dec 2004...
# Had to take checking for recently modified file out, hasn't processed
# for 5 days (since new version of process_cellphone.sh was implemented)...
# Will need to check and fix this after the holidays...  
# Meanwhile process_cellphe_bhb.sh doesn't have that error checking enabled...  
# ljm

#48 * * * *  nice /data/gomoos/buoy/bin/process_misc_hourly.sh blue_hill_bay
#2 6 * * *   nice /data/gomoos/buoy/bin/process_daily.sh blue_hill_bay
#40 * * * *  nice /data/gomoos/buoy/bin/process_cellphone_bhb.sh MS102 blue_hill_bay
#42 * * * *  nice /data/gomoos/buoy/bin/process_cellphone_bhb.sh MS202 blue_hill_bay
#44 * * * *  nice /data/gomoos/buoy/bin/process_cellphone_bhb.sh MS302 blue_hill_bay

# special plots
#40 * * * *  nice /home/gomoos/bin/m0108pos.sh
#45 2,12,16,23 * * *  nice /data/gomoos/buoy/bin/do_a_plot.sh daily_group_plots
20,43 * * * *  nice /data/gomoos/buoy/bin/do_a_plot.sh daily_group_plots
18,41 * * * *  nice /data/gomoos/buoy/bin/do_a_plot.sh daily_group_plots_test
#55 0,12,15,18,21 * * *  nice /data/gomoos/buoy/bin/do_a_plot.sh plot_F0112_met
59 0,11,14,17,20 * * *  nice /data/gomoos/buoy/bin/do_a_plot.sh plot_N0105_met
50 0,5,10,13,16,18,19 * * *  nice /data/gomoos/buoy/bin/do_a_plot.sh plot_cellgoes_posn
1  0,12,15,18,21 * * *  nice /data/gomoos/buoy/bin/do_a_plot.sh plot_battery_voltage
1  2,12,16,23 * * *  nice /data/gomoos/buoy/bin/do_a_plot.sh plot_battery_voltage_test
2  11,23 * * *  nice /data/gomoos/buoy/bin/do_a_plot.sh plot_goes_diags_all
3  11,23 * * *  nice /data/gomoos/buoy/bin/do_a_plot.sh plot_goes_diags_all_testing
2  0,12 * * *  nice /data/gomoos/buoy/bin/do_a_plot.sh plot_goes_signal_strength
4  10,16,22 * * * nice /data/gomoos/buoy/bin/do_a_plot.sh plot_doppler_check
3  0,12 * * *  nice /data/gomoos/buoy/bin/do_a_plot.sh plot_goes_signal_strength_testing
2  10,15,20 * * *  nice /data/gomoos/buoy/bin/do_a_plot.sh plot_some_water_levels
4  9 * * * nice /data/gomoos/buoy/bin/do_a_plot.sh plot_newer_compass_check