Hi there,
What is the best program to use for monitoring Housebot and restarting it when it crashes? Preferably low cost.
Regards,
Chris
Best watchdog service
-
- HouseBot Guru Extraordinaire
- Posts: 1121
- Joined: Tue Sep 28, 2004 7:49 am
- Location: The Netherlands
Re: Best watchdog service
A simple DOS script: (Store a shortcut to the script (.bat) in your startup folder and it autostarts HB after boot + restarts HB after crash. Eventually HB should become a service so Windows service could handle this. It is feature requested. The downside of the option below is that it shows an annoying minimized program in the programbar.
Btw: My HouseBot doesn't crash at all
Btw: My HouseBot doesn't crash at all
Code: Select all
Echo off
:Start
Echo Server has Started At: %Date% %Time%
"C:\Program Files\HouseBot\HouseBotServer.exe"
Echo Server has Terminated At: %Date% %Time%
goto Start
-
- Member
- Posts: 8
- Joined: Sun Dec 12, 2010 7:09 pm
Re: Best watchdog service
Thanks for the tips. Unfortunately though whenever it crashes I have to press Ok on the windows notification before it will close and reopen again. I disabled crash notification, but all that did was remove the option to send the report to microsoft, not disable the notification altogether. Is there some other setting somewhere?
Thanks,
Chris
Thanks,
Chris
-
- HouseBot Guru Extraordinaire
- Posts: 1121
- Joined: Tue Sep 28, 2004 7:49 am
- Location: The Netherlands
Re: Best watchdog service
I also disabled (in System - Advanced - ) the error notification for HouseBot and my system doesn't notify me of any HB errors anymore. Dig a little bit further because that option should work (XP Pro)
-
- HouseBot Guru Extraordinaire
- Posts: 1121
- Joined: Tue Sep 28, 2004 7:49 am
- Location: The Netherlands
Re: Best watchdog service
Finally after all these years HouseBot restarts have become stable
Sometimes after a BSOD or whatever reason that kills HouseBot unclean, the HB Database may corrupt. Nothing MS Access can't handle but it has Always been a manual action. I have had some broken memory strip which caused many BSOD's before I figured out what caused it and HB just didn't auto start all the times because the dbase got corrupted. Therefore I came up with an extra script line. Obviously this only works if MS Access is installed. Just before HB starts, the dbase gets fixed and if it wasn't broken, it gets vacumed hence restoring the size to a minimum.
Echo off
:Start
Echo Server has Started At: %Date% %Time%
"C:\Program Files (x86)\Microsoft Office\Office14\MSACCESS.EXE" "C:\Program Files\Meedio\Meedio HouseBot\Config\HBData.mdb" /Compact
"C:\Program Files\Meedio\Meedio HouseBot\HouseBotServer.exe"
Echo Server has Terminated At: %Date% %Time%
goto Start
Sometimes after a BSOD or whatever reason that kills HouseBot unclean, the HB Database may corrupt. Nothing MS Access can't handle but it has Always been a manual action. I have had some broken memory strip which caused many BSOD's before I figured out what caused it and HB just didn't auto start all the times because the dbase got corrupted. Therefore I came up with an extra script line. Obviously this only works if MS Access is installed. Just before HB starts, the dbase gets fixed and if it wasn't broken, it gets vacumed hence restoring the size to a minimum.
Echo off
:Start
Echo Server has Started At: %Date% %Time%
"C:\Program Files (x86)\Microsoft Office\Office14\MSACCESS.EXE" "C:\Program Files\Meedio\Meedio HouseBot\Config\HBData.mdb" /Compact
"C:\Program Files\Meedio\Meedio HouseBot\HouseBotServer.exe"
Echo Server has Terminated At: %Date% %Time%
goto Start