File

mod_log_mark/mod_log_mark.lua @ 3697:a07bd12fe554

mod_sms_free: Mention that 0.11 will not work due to the absence of SNI support.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 06 Oct 2019 17:44:33 +0200
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);