comparison 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
comparison
equal deleted inserted replaced
1868:d6e673f98572 1869:02390829df1a
1 local log = _G.log;
2
3 module:add_timer(60-os.date("%S"), function ()
4 log("info", "-- MARK --");
5 return 60;
6 end);