Apache 模块 mod_watchdog

Description: 为其他模块提供基础结构以定期运行任务
Status: Base
Module Identifier: watchdog_module
Source File: mod_watchdog.c
Compatibility: 在 Apache 2.3 和更高版本中可用

Summary

mod_watchdog为其他模块定义了程序钩子,以定期运行任务。这些模块可以注册mod_watchdog钩子的处理程序。当前,Apache 发行版中的以下模块使用此功能:

Warning

为了允许模块使用mod_watchdog功能,mod_watchdog本身必须静态链接到服务器核心,或者,如果是动态模块,则必须在调用模块之前加载。

WatchdogInterval Directive

Description: 看门狗间隔(秒)
Syntax: WatchdogInterval time-interval[s]
Default: WatchdogInterval 1
Context: server config
Status: Base
Module: mod_watchdog

设置 watchdog_step 钩子运行的时间间隔。默认为每秒运行一次。

首页