fixes for crontabs
authorChris Koeritz <fred@gruntose.com>
Tue, 7 Feb 2017 13:36:52 +0000 (08:36 -0500)
committerChris Koeritz <fred@gruntose.com>
Tue, 7 Feb 2017 13:36:52 +0000 (08:36 -0500)
started using the scripts variable that should be defined after loading the feisty meow environment.  fixed one usage of an alias in synch and swim, which cron doesn't fricking support.  added crontab for automatically updating a linux box using our new naive_system_updater script.

13 files changed:
infobase/configuration/cron/aa_cron_defaults.crontab
infobase/configuration/cron/backup_serene_system.crontab
infobase/configuration/cron/bookmarks_builder.crontab
infobase/configuration/cron/doxygen.crontab
infobase/configuration/cron/nechung_fortune.crontab
infobase/configuration/cron/opensim_restart.crontab
infobase/configuration/cron/pack_feisty_for_web.crontab
infobase/configuration/cron/process_check.crontab
infobase/configuration/cron/random_sound.crontab
infobase/configuration/cron/snarf_linux_configuration.crontab
infobase/configuration/cron/synch_and_swim_downstream.crontab
infobase/configuration/cron/update_apt_based_linux.crontab [new file with mode: 0644]
infobase/configuration/cron/uptime_report.crontab

index a91c88bcc52266c08de05f1e0a3ab4f8ce4a91f7..dd12c80a7ece84195c4ae8fdb29c71b3763baa68 100644 (file)
@@ -61,6 +61,6 @@ SHELL=/bin/bash
 # 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.
-* * * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; perl $HOME/feisty_meow/scripts/text/new_sig.pl) &>>/tmp/${CRONUSER}-cron-nechung_fortune.log
+* * * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; perl $FEISTY_MEOW_SCRIPTS/text/new_sig.pl) &>>/tmp/${CRONUSER}-cron-nechung_fortune.log
 
 
index cfbff0408adb9351150d7f37fdaebe2de1d6ba1c..0fe25fff94f52e88ef8de8679ca6c853f088d479 100644 (file)
@@ -1,5 +1,5 @@
 
 #[backup serene system]
 # backs up config files and important parts of home directories to off-machine storage.
-14 2 * * */7 (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $HOME/feisty_meow/scripts/archival/serene_backer_upper.sh) &>>/tmp/${CRONUSER}-cron-backup_serene_system.log
+14 2 * * */7 (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/archival/serene_backer_upper.sh) &>>/tmp/${CRONUSER}-cron-backup_serene_system.log
 
index 0c6f888bfe63c73e6bd1af9ced5a4ebb3f11116d..14b57d03fb67c740f319ce12da6520f01362155c 100644 (file)
@@ -1,5 +1,5 @@
 
 #[bookmarks builder]
 # regenerate the bookmarks pages.
-24 10 * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $HOME/feisty_meow/scripts/bookmarks/create_marks.sh ) &>>/tmp/${CRONUSER}-cron-bookmarks_builder.log 
+24 10 * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/bookmarks/create_marks.sh ) &>>/tmp/${CRONUSER}-cron-bookmarks_builder.log 
 
index c75baed65ce8dd29424216f6ba3b59178277104f..e6178d60d2986f962c7f7ea970a19ad7a2f3b786 100644 (file)
@@ -1,6 +1,6 @@
 
 #[doxygen]
 # update the feisty meow documentation once on each of tuesday, thursday and saturday.
-20 4 * * 2,4,6 (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; cd $HOME/feisty_meow/documentation; make) &>>/tmp/${CRONUSER}-cron-doxygen.log 
+20 4 * * 2,4,6 (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; cd $FEISTY_MEOW_APEX/documentation; make) &>>/tmp/${CRONUSER}-cron-doxygen.log 
 
 
index c8c6375c56c9a27cf311db2c718c535a403857d7..52cd167d71cb5c2206d084ab61575cc2518f1457 100644 (file)
@@ -3,5 +3,5 @@
 # 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.
-* * * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; perl $HOME/feisty_meow/scripts/text/new_sig.pl) &>>/tmp/${CRONUSER}-cron-nechung_fortune.log
+* * * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; perl $FEISTY_MEOW_SCRIPTS/text/new_sig.pl) &>>/tmp/${CRONUSER}-cron-nechung_fortune.log
 
index 88c1a554fd95ef2363f98b5d86403733884dd9c5..c6d8525b7f6469ce82be6b640eb28a901502004a 100644 (file)
@@ -1,5 +1,5 @@
 
 #[opensim restart]
 # ensure opensim is started if we can't detect it as running.
-*/5 * * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $HOME/feisty_meow/scripts/opensim/maybe_restart_opensim.sh) &>>/tmp/${CRONUSER}-cron-opensim_restart.log 
+*/5 * * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/opensim/maybe_restart_opensim.sh) &>>/tmp/${CRONUSER}-cron-opensim_restart.log 
 
index 83473f30fd272caa3a942b64f7a22bfed1c41d36..0f5b6a1af4349eac329f09340da0f6aae38d2a02 100644 (file)
@@ -1,5 +1,5 @@
 
 #[pack feisty for web]
 # this packs up our source code distributions every 8 days.
-16 22 */8 * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $HOME/feisty_meow/scripts/archival/pack_feisty_meow.sh) &>>/tmp/${CRONUSER}-cron-pack_feisty_for_web.log 
+16 22 */8 * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/archival/pack_feisty_meow.sh) &>>/tmp/${CRONUSER}-cron-pack_feisty_for_web.log 
 
index e0d76a25b3285884fc0b75c922fc14142aa4df02..b1a9a96cc03da9c0399a8fdff02fddb95634eb6d 100644 (file)
@@ -1,5 +1,5 @@
 
 #[process check]
 # a crontab for periodically dumping the process state.
-* * * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $HOME/feisty_meow/scripts/processes/show_hot_ones.sh) &>>/tmp/${CRONUSER}-cron-active_processes.log 
+* * * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/processes/show_hot_ones.sh) &>>/tmp/${CRONUSER}-cron-active_processes.log 
 
index 31f894bf130143461e1efbfa0a9ed4e89c5f10f3..37920150d0e6ff711fd0f2d319ccaf329fb7a114 100644 (file)
@@ -1,4 +1,4 @@
 
 #[random sound]
-* * * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $HOME/feisty_meow/scripts/multimedia/randomly_play.sh) &>>/tmp/${CRONUSER}-cron-random_sound.log
+* * * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/multimedia/randomly_play.sh) &>>/tmp/${CRONUSER}-cron-random_sound.log
 
index e1096a06262d866e607f4686daed97625b5c0c07..45b61f5c146054d4be54171bdda3fe80934bea92 100644 (file)
@@ -1,5 +1,5 @@
 
 #[snarf linux configuration]
 # do a backup of the linux configuration files once a week.
-28 7 * * 4 (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; cd /z/stuffing/archives; perl $HOME/feisty_meow/scripts/archival/snarf_linux_config.pl) &>>/tmp/${CRONUSER}-cron-snarf_linux_configuration.log
+28 7 * * 4 (source $HOME/feisty_meow/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
 
index d447b62e9db70f05d8a4c881fe6c2191f2939e2c..d5b6f5fdd7aeeb0d12ef241930fe4f4ed109daec 100644 (file)
@@ -4,5 +4,5 @@
 # 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
 # our makefiles.  that's why the code below relies on the top-level makefile in home.
-14 3 * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; cd $HOME ; rev_update ; make ) &>>/tmp/${CRONUSER}-cron-synch_and_swim_downstream.log
+14 3 * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; cd $HOME ; bash $FEISTY_MEOW_SCRIPTS/rev_control/rev_update.sh ; make ) &>>/tmp/${CRONUSER}-cron-synch_and_swim_downstream.log
 
diff --git a/infobase/configuration/cron/update_apt_based_linux.crontab b/infobase/configuration/cron/update_apt_based_linux.crontab
new file mode 100644 (file)
index 0000000..4431d6c
--- /dev/null
@@ -0,0 +1,8 @@
+
+
+#[update apt based linux crontab]
+# does a daily update of an apt-based linux box at pi o'clock.
+#temp set to soon
+20 8 * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/system/naive_system_updater.sh) &>>/tmp/${USER}-cron-update_aptbased_linux.log
+
+
index 3ee25494eea7357f2c68dc02964395465462c825..ce08b1a3d5b4a5294ff2e16ce55a5f7f0b7066f4 100644 (file)
@@ -1,5 +1,5 @@
 
 #[uptime report]
 # the script writes the current time and current uptime to the log file.
-0 * * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $HOME/feisty_meow/scripts/system/write_uptime_report.sh) &>>/tmp/${CRONUSER}-cron-uptime_report.log
+0 * * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/system/write_uptime_report.sh) &>>/tmp/${CRONUSER}-cron-uptime_report.log