From 5dc1a310205ea208f43c99dda7ea08b32fae58e1 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 1 Jan 2017 22:43:01 -0500 Subject: [PATCH] cleaned some cron added a new script used on web server to pack feisty meow releases periodically. cleaned old stuff out of the swim_upstream script. more checking done in archival scripts. --- infobase/configuration/cron/pack_feisty_for_web.crontab | 8 ++++++++ infobase/configuration/cron/swim_upstream.crontab | 7 ++++++- scripts/archival/backup_arbitrary.sh | 0 scripts/archival/backup_trac.sh | 0 scripts/cleaning_progress.txt | 5 ++++- 5 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 infobase/configuration/cron/pack_feisty_for_web.crontab mode change 100755 => 100644 scripts/archival/backup_arbitrary.sh mode change 100755 => 100644 scripts/archival/backup_trac.sh diff --git a/infobase/configuration/cron/pack_feisty_for_web.crontab b/infobase/configuration/cron/pack_feisty_for_web.crontab new file mode 100644 index 00000000..a48fd488 --- /dev/null +++ b/infobase/configuration/cron/pack_feisty_for_web.crontab @@ -0,0 +1,8 @@ +############## + +#[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/zz_packing_cron.log + +############## + diff --git a/infobase/configuration/cron/swim_upstream.crontab b/infobase/configuration/cron/swim_upstream.crontab index f7ca01f4..79a2f3e8 100644 --- a/infobase/configuration/cron/swim_upstream.crontab +++ b/infobase/configuration/cron/swim_upstream.crontab @@ -1,4 +1,5 @@ + SHELL=/bin/bash # m h dom mon dow command @@ -9,6 +10,10 @@ USER=fred # this cron job updates the feisty meow repository on source forge based on # the real one at feistymeow.org. # update the source code to the latest, every day at 3am or so. -14 */2 * * * (export LIGHTWEIGHT_INIT=true; source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $HOME/feisty_meow/scripts/rev_control/push_repo_upstream.sh $HOME/repos/sf-feistymeow-trunk ) &>>/tmp/zz_nechung_fortune_$USER.log + +# OUT OF DATE. # we just need to do a make nowadays! +#14 */2 * * * (export LIGHTWEIGHT_INIT=true; source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $HOME/feisty_meow/scripts/rev_control/push_repo_upstream.sh $HOME/repos/sf-feistymeow-trunk ) &>>/tmp/zz_nechung_fortune_$USER.log + +14 */2 * * * (export LIGHTWEIGHT_INIT=true; source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; cd $HOME ; make ) &>>/tmp/cron-swim_upstream-$USER.log diff --git a/scripts/archival/backup_arbitrary.sh b/scripts/archival/backup_arbitrary.sh old mode 100755 new mode 100644 diff --git a/scripts/archival/backup_trac.sh b/scripts/archival/backup_trac.sh old mode 100755 new mode 100644 diff --git a/scripts/cleaning_progress.txt b/scripts/cleaning_progress.txt index 00a72ac3..b1f3748e 100644 --- a/scripts/cleaning_progress.txt +++ b/scripts/cleaning_progress.txt @@ -2,4 +2,7 @@ starting at: archival 2017-01-01 - okay with backup arb, + okay with backup arb, fixed backup_trac, found pack_feisty used in www-data cron job (copied for new cron config script), listarch considered one of newer gen of good scripts (but still could probably use refactoring; it's just that it works well already), + okay with search_arch, serene backer upper (filesynch / transporter kind of blow right now, but we have lots of notes for them), shared snarfer is a good lib used by many snarfers, + okay with snarf_feisty_meow (retested good), snarf_linux_config which is used constantly, snarf_notes -- surprisingly useful as it grabbed the local note (*.txt) files i don't usually grab, but it also did grab the cloud, which is a backed up repository style asset; seems a little silly to keep it in notes still, + okay with -- 2.34.1