cleaned up some example crontabs
[feisty_meow.git] / infobase / configuration / cron / time_synch.crontab
1
2 ##############
3
4 #[time_synch_suite]
5
6 LOCAL_TIME_SERVER=greendragon
7
8 ##############
9
10 # note: uncomment only one of the below (local client, local server, or remote client).
11
12 ##############
13
14 #[update_system_time_local_client]
15 # standard version synchs to a local machine.  can be used on a network
16 # to get time from central host.
17 #*/4 * * * * /usr/sbin/ntpdate $LOCAL_TIME_SERVER &>>/tmp/${CRONUSER}-cron-time_synch.log
18
19 ##############
20
21 #[update_system_time_local_server]
22 # the central host machine uses this version, to synch time externally.
23 #0 0,4,8,12,16,20 * * * /usr/bin/rdate -s time.nist.gov &>>/tmp/${CRONUSER}-cron-time_synch.log
24
25 ##############
26
27 #[update_system_time_remote_client]
28 # synchronize the time with a real ntp server.
29 #42 0,4,8,12,16,20 * * * (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_APEX/scripts/system/update_system_time.sh ) &>/tmp/${CRONUSER}-cron-update_system_time.log
30
31 ##############
32