From: Fred T. Hamster Date: Tue, 19 Nov 2024 22:01:41 +0000 (-0500) Subject: cleaned up some crontab config files X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=75f1be5668aba2bf79d99f7a9557815ff313f1d6;p=feisty_meow.git cleaned up some crontab config files --- diff --git a/infobase/configuration/cron/aa_cron_defaults.crontab b/infobase/configuration/cron/aa_cron_defaults.crontab index a33b2fc3..ae3f684d 100644 --- a/infobase/configuration/cron/aa_cron_defaults.crontab +++ b/infobase/configuration/cron/aa_cron_defaults.crontab @@ -24,7 +24,7 @@ SHELL=/bin/bash # for your own particular install location. FEISTY_MEOW_APEX=/opt/feistymeow.org/feisty_meow -# crontab miniature docs: +# miniature docs for crontab: # # below is the short form key to the crontab positional entries for times: # m h dom mon dow command diff --git a/infobase/configuration/cron/process_check.crontab b/infobase/configuration/cron/process_check.crontab index f1ab51d3..dbe316ad 100644 --- a/infobase/configuration/cron/process_check.crontab +++ b/infobase/configuration/cron/process_check.crontab @@ -2,7 +2,7 @@ ############## #[process_check] -# a crontab for periodically dumping the process state. +# periodically dumps 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 ############## diff --git a/infobase/configuration/cron/save_serene_root_crons.crontab b/infobase/configuration/cron/save_serene_root_crons.crontab deleted file mode 100644 index 6f613ee0..00000000 --- a/infobase/configuration/cron/save_serene_root_crons.crontab +++ /dev/null @@ -1,9 +0,0 @@ - -############## - -#[serene_root_crontab] -# update the stored crontab for the root user, using a cron job! -14 */8 * * * (crontab -l >/home/www-data/web/root.crontab ; chown www-data:www-data /home/www-data/web/root.crontab) - -############## - diff --git a/infobase/configuration/cron/save_server_crons.crontab b/infobase/configuration/cron/save_server_crons.crontab new file mode 100644 index 00000000..266cf038 --- /dev/null +++ b/infobase/configuration/cron/save_server_crons.crontab @@ -0,0 +1,9 @@ + +############## + +#[server crontab saver] +# record the crontab for the root user, using a cron job! +14 */8 * * * (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; crontab -l >/z/stuffing/archives/root-$(hostname)-$(date_stringer).crontab ; chown -R fred:fred /z/stuffing/archives ) + +############## + diff --git a/infobase/configuration/cron/time_synch.crontab b/infobase/configuration/cron/time_synch.crontab index 6b064f5c..3d7eae9b 100644 --- a/infobase/configuration/cron/time_synch.crontab +++ b/infobase/configuration/cron/time_synch.crontab @@ -20,7 +20,7 @@ LOCAL_TIME_SERVER=greendragon #[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 +#0 0,4,8,12,16,20 * * * /usr/sbin/rdate -s time.nist.gov &>>/tmp/${CRONUSER}-cron-time_synch.log ############## diff --git a/infobase/configuration/cron/update_apt_based_linux.crontab b/infobase/configuration/cron/update_apt_based_linux.crontab index b9dea269..8448ebe3 100644 --- a/infobase/configuration/cron/update_apt_based_linux.crontab +++ b/infobase/configuration/cron/update_apt_based_linux.crontab @@ -1,7 +1,7 @@ ############## -#[update_apt_based_linux_crontab] +#[update_apt_based_linux] # 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 diff --git a/scripts/core/prep_feisty_host.sh b/scripts/core/prep_feisty_host.sh index 7c5c2d33..cd9059a7 100644 --- a/scripts/core/prep_feisty_host.sh +++ b/scripts/core/prep_feisty_host.sh @@ -231,15 +231,15 @@ exit_on_error $PHASE_MESSAGE PHASE_MESSAGE="installing additional helper packages" if [ "$opsystem_here" == "debianesque" ]; then - PAX=(dos2unix genisoimage imagemagick iputils-ping ncal screen python3 python3-pip xserver-xorg xorg-docs ) + PAX=(dos2unix genisoimage imagemagick iputils-ping ncal screen python3 python3-pip rdate xserver-xorg xorg-docs ) elif [ "$opsystem_here" == "redhatty" ]; then - PAX=(dos2unix genisoimage ImageMagick screen python3 python3-pip xorg-x11-server-Xwayland xorg-x11-docs ) + PAX=(dos2unix genisoimage ImageMagick screen python3 python3-pip rdate xorg-x11-server-Xwayland xorg-x11-docs ) #genisoimage untested elif [ "$opsystem_here" == "macos" ]; then - PAX=(dos2unix genisoimage imagemagick ncal screen python3 xquartz linuxbrew/xorg/xorg-docs ) + PAX=(dos2unix genisoimage imagemagick ncal screen python3 rdate xquartz linuxbrew/xorg/xorg-docs ) #genisoimage untested elif [ "$opsystem_here" == "windoze" ]; then - PAX=(dos2unix genisoimage imagemagick ncal screen python3 python3-pip xserver-xorg xorg-docs ) + PAX=(dos2unix genisoimage imagemagick ncal screen python3 python3-pip rdate xserver-xorg xorg-docs ) #genisoimage untested fi