mod_watchdog - Apache HTTP Server Version 2.4

Apache HTTP Server Version 2.4

Apache > HTTP Server > Documentation > Version 2.4 > Modules

# Apache Module mod_watchdog

Available Languages: en

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

### See also

- Comments

## 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.

Available Languages: en

## Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.