From: Chris Koeritz Date: Wed, 14 Mar 2012 15:14:12 +0000 (-0400) Subject: cleaning up missing variable after new awakening to simple approach to vars taken... X-Git-Tag: 2.140.90~1467 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=d40490bdb44a1723252209669b71ced3f5abf41b;p=feisty_meow.git cleaning up missing variable after new awakening to simple approach to vars taken in cron. thanks to: http://www.alleft.com/sysadmin/common-cron-mistakes/ for good info. --- diff --git a/database/configuration/cron/bookmarks_builder.crontab b/database/configuration/cron/bookmarks_builder.crontab index 0c1bb986..54595965 100644 --- a/database/configuration/cron/bookmarks_builder.crontab +++ b/database/configuration/cron/bookmarks_builder.crontab @@ -3,6 +3,8 @@ SHELL=/bin/bash # m h dom mon dow command +USER=fred + # 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/zz_bookmarkingering_$USER.log diff --git a/database/configuration/cron/doxygen.crontab b/database/configuration/cron/doxygen.crontab index fa20d219..0b3c73c8 100644 --- a/database/configuration/cron/doxygen.crontab +++ b/database/configuration/cron/doxygen.crontab @@ -3,5 +3,7 @@ SHELL=/bin/bash # m h dom mon dow command +USER=fred + 20 4 * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; cd $HOME/hoople/docs; make) &>>/tmp/zz_doxy_make_$USER.log diff --git a/database/configuration/cron/linux_config_snarf.crontab b/database/configuration/cron/linux_config_snarf.crontab index 8476ebaa..f6fc022a 100644 --- a/database/configuration/cron/linux_config_snarf.crontab +++ b/database/configuration/cron/linux_config_snarf.crontab @@ -3,6 +3,8 @@ SHELL=/bin/bash # m h dom mon dow command +USER=fred + # do a backup of the config 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/zz_linux_config_snarf_$USER.log diff --git a/database/configuration/cron/mysql_db_backup.crontab b/database/configuration/cron/mysql_db_backup.crontab index 00be4ccf..8f86ac6e 100644 --- a/database/configuration/cron/mysql_db_backup.crontab +++ b/database/configuration/cron/mysql_db_backup.crontab @@ -3,5 +3,7 @@ SHELL=/bin/bash # m h dom mon dow command +USER=fred + 14 7 * * * bash $HOME/feisty_meow/scripts/database/backup_mysql_dbs.sh &>>/tmp/zz_backup_mysql_$USER.log diff --git a/database/configuration/cron/nechung_fortune.crontab b/database/configuration/cron/nechung_fortune.crontab index 8cfeb697..13f48806 100644 --- a/database/configuration/cron/nechung_fortune.crontab +++ b/database/configuration/cron/nechung_fortune.crontab @@ -3,5 +3,7 @@ SHELL=/bin/bash # m h dom mon dow command +USER=fred + * * * * * (export LIGHTWEIGHT_INIT=true; source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; perl $HOME/feisty_meow/scripts/text/new_sig.pl) &>>/tmp/zz_nechung_fortune_$USER.log diff --git a/database/configuration/cron/opensim_restart.crontab b/database/configuration/cron/opensim_restart.crontab index c4882aef..5df6319c 100644 --- a/database/configuration/cron/opensim_restart.crontab +++ b/database/configuration/cron/opensim_restart.crontab @@ -3,7 +3,9 @@ SHELL=/bin/bash # m h dom mon dow command +USER=fred + # make sure opensim is started if we can't detect it as running. -*/5 * * * * export FOOP=/tmp/opensim_restart.log; export LIGHTWEIGHT_INIT=true; source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh &>>$FOOP ; bash $HOME/feisty_meow/scripts/opensim/maybe_restart_opensim.sh &>>$FOOP ; /bin/chmod g+w $FOOP +*/5 * * * * export FOOP=/tmp/opensim_restart_$USER.log; export LIGHTWEIGHT_INIT=true; source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh &>>$FOOP ; bash $HOME/feisty_meow/scripts/opensim/maybe_restart_opensim.sh &>>$FOOP ; /bin/chmod g+w $FOOP diff --git a/database/configuration/cron/overload_check.crontab b/database/configuration/cron/overload_check.crontab index 4439446c..a51457a0 100644 --- a/database/configuration/cron/overload_check.crontab +++ b/database/configuration/cron/overload_check.crontab @@ -3,6 +3,8 @@ SHELL=/bin/bash # m h dom mon dow command +USER=fred + # make a report of the current state of information overload in our notes files. 24 22 * * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $HOME/feisty_meow/scripts/notes/info_overload_report.sh ) &>>/tmp/zz_info_overload_$USER.log diff --git a/database/configuration/cron/random_sound.crontab b/database/configuration/cron/random_sound.crontab index eff64d3a..58f109bd 100644 --- a/database/configuration/cron/random_sound.crontab +++ b/database/configuration/cron/random_sound.crontab @@ -3,5 +3,7 @@ SHELL=/bin/bash # m h dom mon dow command +USER=fred + * * * * * (export LIGHTWEIGHT_INIT=true; source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $HOME/feisty_meow/scripts/multimedia/randomly_play.sh) &>>/tmp/zz_random_sound_$USER.log diff --git a/database/configuration/cron/uptime_report.crontab b/database/configuration/cron/uptime_report.crontab index 5c26b7c6..8a2684ec 100644 --- a/database/configuration/cron/uptime_report.crontab +++ b/database/configuration/cron/uptime_report.crontab @@ -3,6 +3,8 @@ SHELL=/bin/bash # m h dom mon dow command +USER=fred + # 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/zz_uptime_report_$USER.log diff --git a/database/configuration/cron/zooty_archive_packer.crontab b/database/configuration/cron/zooty_archive_packer.crontab index ec935f11..1e941519 100644 --- a/database/configuration/cron/zooty_archive_packer.crontab +++ b/database/configuration/cron/zooty_archive_packer.crontab @@ -3,6 +3,8 @@ SHELL=/bin/bash # m h dom mon dow command +USER=fred + # this packs up our archives once a day. 32 6 0 * * (source $HOME/feisty_meow/scripts/core/launch_feisty_meow.sh; bash $HOME/feisty_meow/scripts/archival/pack_yeti.sh ; bash $HOME/feisty_meow/scripts/archival/pack_hoople.sh ) &>>/tmp/zz_packing_cron_$USER.log