Mercurial > prosody-modules
view mod_log_mark/mod_log_mark.lua @ 4382:0d6b69777bc1
mod_http_admin_api: port to use new mod_groups_internal module
Matthew Wild contributed much of the code, so I can only take
partial credit.
| author | Jonas Schäfer <jonas@wielicki.name> |
|---|---|
| date | Mon, 25 Jan 2021 18:33:49 +0100 |
| parents | 7be158b3376f |
| children |
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);
