Software / code / prosody-modules
File
mod_log_mark/mod_log_mark.lua @ 4939:1a58345d91a9
mod_auth_dovecot: Add luarocks metadata to make automatic packaging work
This subdirectory is not handled by the luarocks packaging in module browser
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 14 May 2022 15:50:44 +0200 |
| parent | 2174:7be158b3376f |
line wrap: on
line source
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);