File

mod_log_mark/mod_log_mark.lua @ 6059:25b091cbb471

mod_pubsub_serverinfo: Allow including the count of active users in the published info
author Matthew Wild <mwild1@gmail.com>
date Fri, 22 Nov 2024 19:09:10 +0000
parent 2174:7be158b3376f
line wrap: on
line source

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);