This is an old revision of the document!
WMPRO, WMMINI FW >= 1.1112 WMMEGA FW >= 2.1113
Clear the software watchdog timer
Clears the watchdog timer. This auto-increments in firmware and when it reaches the preset threshold the Wattmon will reboot. This is implemented to prevent issues if long running scripts block the system. The interval can be set using init_watchdog.
None
None
<? clear_watchdog(); // reset the counter ?>
Function init_watchdog can be called to set the value. Alternatively the value will be loaded at startup from the watchdog_interval key in the debug section of uphp.ini.
Function clear_watchdog is called from WattmonOS 2.26 and above once per minute automatically.
init_watchdog() - Initialize the software watchdog timer