view mod_log_mark/mod_log_mark.lua @ 3763:f384669a9359

mod_auth_imap: send CRLF instead LF, in order to be compliant with RFC3501
author andrewhotlab <andrew.hotlab@hotmail.com>
date Thu, 19 Dec 2019 20:18:26 +0100
parents 7be158b3376f
children
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);