view mod_log_mark/mod_log_mark.lua @ 2929:3a104a900af1

mod_register_web: Pass username to generate_register_response
author Michel Le Bihan <michel@lebihan.pl>
date Tue, 13 Mar 2018 21:12:21 +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);