mod_log_mark/mod_log_mark.lua
author Matthew Wild <mwild1@gmail.com>
Fri, 23 Sep 2022 22:39:49 +0100
changeset 5056 d7ece68de066
parent 2178 7be158b3376f
permissions -rw-r--r--
mod_cloud_notify: Only delay hibernation timeout for push-enabled clients

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