view mod_log_mark/mod_log_mark.lua @ 2102:2c225b4b93d2

mod_firewall: README: Add note about time functions using server's local time
author Matthew Wild <mwild1@gmail.com>
date Thu, 17 Mar 2016 11:23:13 +0000
parents 02390829df1a
children d15df55f0a63
line wrap: on
line source

local log = _G.log;

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