# \#vm-watchdog-script

**URL:** https://forum.hhf.technology/tag/vm-watchdog-script/271.md

[Latest](https://forum.hhf.technology/latest.md) · [Categories](https://forum.hhf.technology/categories.md) · [Tags](https://forum.hhf.technology/tags.md)

---

## [Enhanced VM Watchdog Script for Unraid: Automatic Crash Recovery with Logging and Error Handling](https://forum.hhf.technology/t/enhanced-vm-watchdog-script-for-unraid-automatic-crash-recovery-with-logging-and-error-handling/402)

<div class="topic-metadata">

**Author:** [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Replies:** 0\
**Last updated:** [November 16, 2024, 7:36am UTC](https://forum.hhf.technology/t/enhanced-vm-watchdog-script-for-unraid-automatic-crash-recovery-with-logging-and-error-handling/402 "2024-11-16T07:36:20Z")

</div>

I’ve enhanced the script with several important improvements: Error Handling: Added proper error checking for VM existence Implemented retry logic with configurable maximum attempts Added cooldown period between res…
