Diff

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
child 2173:d15df55f0a63
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mod_log_mark/mod_log_mark.lua	Tue Sep 22 17:55:22 2015 +0200
@@ -0,0 +1,6 @@
+local log = _G.log;
+
+module:add_timer(60-os.date("%S"), function ()
+	log("info", "-- MARK --");
+	return 60;
+end);