Apache HTTP Server Version 2.4

Apache > HTTP Server > Documentation > Version 2.4 > Modules

# Apache Module mod_watchdog

Description: | provides infrastructure for other modules to periodically run tasks
Status: | Base
Module Identifier: | watchdog_module
Source File: | mod_watchdog.c
Compatibility: | Available in Apache 2.3 and later

### Summary

`mod_watchdog` defines programmatic hooks for other modules to periodically run tasks. These modules can register handlers for `mod_watchdog` hooks. Currently, the following modules in the Apache distribution use this functionality:

- `mod_heartbeat`
- `mod_heartmonitor`

To allow a module to use `mod_watchdog` functionality, `mod_watchdog` itself must be statically linked to the server core or, if a dynamic module, be loaded before the calling module.

### Directives

### Bugfix checklist

- httpd changelog
- Known issues
- Report a bug

## WatchdogInterval Directive

Description: | Watchdog interval in seconds
Syntax: | `WatchdogInterval number-of-seconds`
Default: | `WatchdogInterval 1`
Context: | server config
Status: | Base
Module: | mod_watchdog

Sets the interval at which the watchdog_step hook runs. Default is to run every second.