Mercurial > prosody-modules
view mod_log_mark/mod_log_mark.lua @ 3917:3e19c25ff93e
mod_reminders: Initial commit for supporting Reminders ProtoXEP
See https://tenak.net/marcos/xeps/reminders.html
author | marc0s <marcos.devera@quobis.com> |
---|---|
date | Thu, 27 Feb 2020 00:59:17 +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);