Mercurial > prosody-modules
view mod_log_mark/mod_log_mark.lua @ 1869:02390829df1a
mod_log_mark: Module that sends a line to the log once per minute
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 22 Sep 2015 17:55:22 +0200 |
parents | |
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);