mod_log_mark/mod_log_mark.lua
author Kim Alvefur <zash@zash.se>
Tue, 14 Nov 2023 23:19:19 +0100
changeset 5720 426c42c11f89
parent 2178 7be158b3376f
permissions -rw-r--r--
mod_http_oauth2: Make defaults more secure This should be fine since we don't have a lot of clients to be backwards-compatible with.

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