X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=database%2Fconfiguration%2Fcron%2Fopensim_restart.crontab;h=5df6319c4453badee323064e28443bf739745fe2;hb=34c926a0bdbf1711e5cc7440f9b1eb32b6065d53;hp=331ad8d3fd5ab89bec3a20c2c6084ae4d8abea4a;hpb=bef7c09ccc46a59e95a4d85f1cee3a9d11d72b71;p=feisty_meow.git diff --git a/database/configuration/cron/opensim_restart.crontab b/database/configuration/cron/opensim_restart.crontab index 331ad8d3..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 &>/dev/null; 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