renaming for clarity
authorFred T. Hamster <fred@gruntose.com>
Tue, 3 Dec 2024 21:21:39 +0000 (16:21 -0500)
committerFred T. Hamster <fred@gruntose.com>
Tue, 3 Dec 2024 21:21:39 +0000 (16:21 -0500)
infobase/configuration/cron/emit_crontab.crontab [deleted file]
infobase/configuration/cron/emit_server_crontab.crontab [new file with mode: 0644]
infobase/configuration/cron/emit_user_crontab.crontab [new file with mode: 0644]
infobase/configuration/cron/save_server_crons.crontab [deleted file]

diff --git a/infobase/configuration/cron/emit_crontab.crontab b/infobase/configuration/cron/emit_crontab.crontab
deleted file mode 100644 (file)
index 095b9ae..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-
-##############
-
-#[emit_crontab]
-# meta-operation to backup the crontab file using cron itself.
-28 */8 * * * crontab -l >$HOME/$(hostname).$CRONUSER.crontab
-
-##############
-
diff --git a/infobase/configuration/cron/emit_server_crontab.crontab b/infobase/configuration/cron/emit_server_crontab.crontab
new file mode 100644 (file)
index 0000000..fa58f17
--- /dev/null
@@ -0,0 +1,9 @@
+
+##############
+
+#[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 ) &>>/tmp/${CRONUSER}-cron-emit_server_crontab.log
+
+##############
+
diff --git a/infobase/configuration/cron/emit_user_crontab.crontab b/infobase/configuration/cron/emit_user_crontab.crontab
new file mode 100644 (file)
index 0000000..da39cbc
--- /dev/null
@@ -0,0 +1,9 @@
+
+##############
+
+#[emit user crontab]
+# meta-operation to backup the crontab file using cron itself.
+28 */8 * * * crontab -l &> $HOME/$(hostname).$CRONUSER.crontab
+
+##############
+
diff --git a/infobase/configuration/cron/save_server_crons.crontab b/infobase/configuration/cron/save_server_crons.crontab
deleted file mode 100644 (file)
index 266cf03..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-
-##############
-
-#[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 )
-
-##############
-