User Tools

Site Tools


uphp:functions:clear_watchdog

This is an old revision of the document!


clear_watchdog

WMPRO, WMMINI FW >= 1.1112 WMMEGA FW >= 2.1113

Clear the software watchdog timer

Description

clear_watchdog ( )

Clears the watchdog timer. This auto-increments in firmware and when it reaches the preset threshold the Wattmon will reset. 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

Examples

<?
  clear_watchdog(); // reset the counter
?>

Additional Information

The 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

See Also

init_watchdog() - Initialize watchdog timer

uphp/functions/clear_watchdog.1533548054.txt.gz · Last modified: 2021/09/13 05:56 (external edit)