User Tools

Site Tools


uphp:functions:clear_watchdog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

uphp:functions:clear_watchdog [2018/08/07 08:50]
jeff
uphp:functions:clear_watchdog [2021/09/13 05:57]
Line 1: Line 1:
-======clear_watchdog====== 
- 
-<badge>WMPRO, WMMINI FW >= 1.1112</badge> <badge>WMMEGA FW >= 2.1113</badge> 
- 
-Clear the software watchdog timer 
- 
-====Description==== 
- 
-<well size="sm"><html> 
-<span style="font-size:125%">clear_watchdog ( ) 
-</html></well> 
- 
-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]].  
- 
-====Parameters==== 
- 
-None 
- 
-====Return Values==== 
- 
-None 
- 
-====Example==== 
- 
-<code php> 
-<? 
-  clear_watchdog(); // reset the counter 
-?> 
-</code> 
- 
-====Additional Information==== 
- 
-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. 
- 
-====Also See==== 
- 
-[[init_watchdog()]] - Initialize the software watchdog timer 
  
uphp/functions/clear_watchdog.txt · Last modified: 2021/09/13 05:57 (external edit)