-#[aa cron defaults]
+#[aa_cron_defaults]
#
# cron default bits to add at top of crontab...
# by fred t. hamster, GNU GPL v3 license.
##############
-#[backup git account]
+#[backup_git_account]
# archives the whole ~git folder with all account databases into a compressed tar file.
34 20 * * 5 tar -czf /z/stuffing/archives/git_archive_$(date +"\%Y_\%m_\%d_\%H\%M_\%S" | tr -d '/\n/').tar.gz /home/git &>>/tmp/${CRONUSER}-cron-backup_git_account.log
##############
-#[backup maildir]
+#[backup_maildir]
# backs up the maildir folder for fred bi-monthly.
8 4 3,14 * * (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; tar -czf /z/stuffing/archives/maildir_backup_$(date_stringer).tar.gz $HOME/Maildir) &>/tmp/${CRONUSER}-cron-backup_maildir.log
##############
-#[backup mysql databases]
-# backs up all of our mysql databases on a weekly basis.
-28 4 * * 2 (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; mysqldump -u root '-pPASSWORD' --all-databases | gzip > /z/stuffing/archives/database_backup_$(hostname)_$(date_stringer).sql.gz) &>>/tmp/${CRONUSER}-cron-backup_mysql_databases.log
+#[backup_all_mysql_databases]
+# backs up all of our mysql databases twice a week (as currently configured).
+28 4 * * */3 (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; mysqldump -u root '-pPASSWORD' --all-databases | gzip > /z/stuffing/archives/database_backup_$(hostname)_$(date_stringer).sql.gz) &>>/tmp/${CRONUSER}-cron-backup_mysql_databases.log
##############
##############
-#[backup photo albums]
+#[backup_photo_albums]
# back up the pictures in coppermine gallery every month.
34 6 4 * * (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; tar -czf /z/stuffing/archives/photo_albums_backup_$(date_stringer).tar.gz /home/albums ; refred) &>>/tmp/${CRONUSER}-cron-backup_photo_albums.log
##############
-#[backup serene system]
+#[backup_serene_system]
# backs up config files and important parts of home directories to off-machine storage.
14 2 * * */7 (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/archival/serene_backer_upper.sh) &>>/tmp/${CRONUSER}-cron-backup_serene_system.log
##############
-#[backup trac]
+#[backup_trac]
# backs up trac every week.
28 7 * * 2 bash $FEISTY_MEOW_APEX/scripts/archival/backup_trac.sh /home/trac /z/stuffing/archives &>>/tmp/${CRONUSER}-cron-backup_trac.log
##############
-#[bookmarks builder]
+#[bookmarks_builder]
# regenerate the bookmarks pages.
24 10 * * * (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/bookmarks/create_marks.sh ) &>>/tmp/${CRONUSER}-cron-bookmarks_builder.log
##############
-#[emit crontab]
+#[emit_crontab]
# meta-operation to backup the crontab file using cron itself.
28 */8 * * * crontab -l >$HOME/$(hostname).$CRONUSER.crontab
##############
-#[letsencrypt renewal]
+#[letsencrypt_renewal]
# run the letsencrypt certificate renewal process every 4 hours.
# fixing issues in renewal by setting PATH.
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
##############
-#[mailman attribute fix]
+#[mailman_attribute_fix]
# fix the mailman log files so that an obnoxious bug doesn't happen on the mailman web site.
23 5 * * * chmod -R 02775 /var/lib/mailman/logs &>/dev/null
##############
-#[nechung fortune]
+#[nechung_fortune]
# runs every minute and recreates a fortune for thunderbird signature.
# a lot of the detail below is to get the feisty meow environment loaded for
# the new_sig command.
##############
-#[opensim restart]
+#[opensim_restart]
# ensure opensim is started if we can't detect it as running.
*/5 * * * * (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/opensim/maybe_restart_opensim.sh) &>>/tmp/${CRONUSER}-cron-opensim_restart.log
##############
-#[pack feisty for web]
+#[pack_feisty_for_web]
# this packs up our source code distributions every 8 days.
16 22 */8 * * (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/archival/pack_feisty_meow.sh) &>>/tmp/${CRONUSER}-cron-pack_feisty_for_web.log
##############
-# [periodic reboot]
+# [periodic_reboot]
# invigorates a shaky machine that cannot run longer than a certain time period.
# version below reboots every two days, somewhat.
20 4 * * 0,2,4,6 (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; sep; echo periodic reboot running at $(date) ; sep; sync; sleep 2; /sbin/reboot) &>>$HOME/${CRONUSER}-cron-periodic_reboot.log
##############
-#[process check]
+#[process_check]
# a crontab for periodically dumping the process state.
* * * * * (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/processes/show_hot_ones.sh) &>>/tmp/${CRONUSER}-cron-active_processes.log
##############
-#[random sound]
+#[random_sound]
* * * * * (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/multimedia/randomly_play.sh) &>>/tmp/${CRONUSER}-cron-random_sound.log
##############
##############
-#[snarf linux configuration]
+#[snarf_linux_configuration]
# do a backup of the linux configuration files once a week.
28 7 * * 4 (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; cd /z/stuffing/archives; perl $FEISTY_MEOW_SCRIPTS/archival/snarf_linux_config.pl) &>>/tmp/${CRONUSER}-cron-snarf_linux_configuration.log
##############
-#[synch and swim downstream]
+#[synch_and_swim_downstream]
# updates local code repositories from main versions before uploading any changes to downstream
# repositories, such as sourceforge or github. the uploading process (which we think of as sending
# those updated items swimming downstream to their dependent repositories) is done automatically in
##############
-#[tell zooty our ip]
+#[tell_zooty_our_ip]
# firewall host only--inform serene/zooty of our home IP address to enable back-connections.
0,14,28,42,56 * * * * (bash $FEISTY_MEOW_APEX/scripts/security/tell_zooty_our_ip.sh serene.feistymeow.org fred $CRONUSER ) &>>/tmp/${CRONUSER}-cron-tell_zooty_our_ip.log
##############
-#[time synch]
+#[time_synch_suite]
LOCAL_TIME_SERVER=greendragon
##############
-# note: uncomment one of the below (client or server).
+# note: uncomment only one of the below (local client, local server, or remote client).
+##############
+
+#[update_system_time_local_client]
# standard version synchs to a local machine. can be used on a network
# to get time from central host.
#*/4 * * * * /usr/sbin/ntpdate $LOCAL_TIME_SERVER &>>/tmp/${CRONUSER}-cron-time_synch.log
+##############
+
+#[update_system_time_local_server]
# the central host machine uses this version, to synch time externally.
#0 0,4,8,12,16,20 * * * /usr/bin/rdate -s time.nist.gov &>>/tmp/${CRONUSER}-cron-time_synch.log
##############
+#[update_system_time_remote_client]
+# synchronize the time with a real ntp server.
+#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
+
+##############
+
##############
-#[update apt based linux crontab]
+#[update_apt_based_linux_crontab]
# does a daily update of an apt-based linux box at pi o'clock.
14 3 * * * (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/system/naive_system_updater.sh) &>>/tmp/${CRONUSER}-cron-update_aptbased_linux.log
##############
-#[uptime report]
+#[uptime_report]
# the script writes the current time and current uptime to the log file.
0 * * * * (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/system/write_uptime_report.sh) &>>/tmp/${CRONUSER}-cron-uptime_report.log
##############
-#[web group perm fix]
+#[web_group_perm_fix]
# fix the web directories for group access.
0 * * * * chmod -R g+w /var/www &>/dev/null