mod_log_mark/mod_log_mark.lua
author Matthew Wild <mwild1@gmail.com>
Wed, 17 Apr 2024 16:48:22 +0100
changeset 5893 2597e2113561
parent 2178 7be158b3376f
permissions -rw-r--r--
mod_sasl2: Log when tls-exporter is NOT supported, as well as when it is

module:set_global();

local log = _G.log;

module:add_timer(60-os.date("%S"), function (now)
	log("info", "-- MARK --");
	return 90 - ((now + 30) % 60);
end);