annotate mod_log_mark/mod_log_mark.lua @ 2168:28d99ffa3c06

mod_auth_phpbb3: Add support for verifying bcrypt hashes (thanks bios)
author Kim Alvefur <zash@zash.se>
date Sat, 30 Apr 2016 19:09:45 +0200
parents 02390829df1a
children d15df55f0a63
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1869
02390829df1a mod_log_mark: Module that sends a line to the log once per minute
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 local log = _G.log;
02390829df1a mod_log_mark: Module that sends a line to the log once per minute
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2
02390829df1a mod_log_mark: Module that sends a line to the log once per minute
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 module:add_timer(60-os.date("%S"), function ()
02390829df1a mod_log_mark: Module that sends a line to the log once per minute
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 log("info", "-- MARK --");
02390829df1a mod_log_mark: Module that sends a line to the log once per minute
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 return 60;
02390829df1a mod_log_mark: Module that sends a line to the log once per minute
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 end);