cleanups and new periodic reboot crontab
[feisty_meow.git] / infobase / configuration / cron / opensim_restart.crontab
index 5df6319c4453badee323064e28443bf739745fe2..d6f56391fcf4fb27793c1d85c909776c8d961241 100644 (file)
@@ -1,11 +1,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_$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
+#[opensim restart]
+# ensure opensim is started if we can't detect it as running.
+*/5 * * * * (source $FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh; bash $FEISTY_MEOW_SCRIPTS/opensim/maybe_restart_opensim.sh) &>>/tmp/${CRONUSER}-cron-opensim_restart.log 
 
+##############