From c3e975ae526597aeb23d13496aa78b334d804827 Mon Sep 17 00:00:00 2001 From: "Fred T. Hamster" Date: Tue, 3 Dec 2024 16:21:39 -0500 Subject: [PATCH] renaming for clarity --- ...{save_server_crons.crontab => emit_server_crontab.crontab} | 4 ++-- .../cron/{emit_crontab.crontab => emit_user_crontab.crontab} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename infobase/configuration/cron/{save_server_crons.crontab => emit_server_crontab.crontab} (79%) rename infobase/configuration/cron/{emit_crontab.crontab => emit_user_crontab.crontab} (53%) diff --git a/infobase/configuration/cron/save_server_crons.crontab b/infobase/configuration/cron/emit_server_crontab.crontab similarity index 79% rename from infobase/configuration/cron/save_server_crons.crontab rename to infobase/configuration/cron/emit_server_crontab.crontab index 266cf038..fa58f17b 100644 --- a/infobase/configuration/cron/save_server_crons.crontab +++ b/infobase/configuration/cron/emit_server_crontab.crontab @@ -1,9 +1,9 @@ ############## -#[server crontab saver] +#[emit server crontab] # 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 ) +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 ) &>>/tmp/${CRONUSER}-cron-emit_server_crontab.log ############## diff --git a/infobase/configuration/cron/emit_crontab.crontab b/infobase/configuration/cron/emit_user_crontab.crontab similarity index 53% rename from infobase/configuration/cron/emit_crontab.crontab rename to infobase/configuration/cron/emit_user_crontab.crontab index 095b9ae4..da39cbc3 100644 --- a/infobase/configuration/cron/emit_crontab.crontab +++ b/infobase/configuration/cron/emit_user_crontab.crontab @@ -1,9 +1,9 @@ ############## -#[emit_crontab] +#[emit user crontab] # meta-operation to backup the crontab file using cron itself. -28 */8 * * * crontab -l >$HOME/$(hostname).$CRONUSER.crontab +28 */8 * * * crontab -l &> $HOME/$(hostname).$CRONUSER.crontab ############## -- 2.34.1