comparison plugins/mod_cron.lua @ 13701:1aa7efabeacb 13.0

mod_cloud_notify, mod_cron, mod_invites: Add 'prosody.' prefix to requires
author Matthew Wild <mwild1@gmail.com>
date Sat, 15 Feb 2025 10:31:37 +0000
parents 899453f11f50
children 8b05340a94d3
comparison
equal deleted inserted replaced
13700:9b7687b47da9 13701:1aa7efabeacb
76 name = "tasks"; 76 name = "tasks";
77 desc = "View registered tasks"; 77 desc = "View registered tasks";
78 args = {}; 78 args = {};
79 handler = function(self, filter_host) 79 handler = function(self, filter_host)
80 local format_table = require("prosody.util.human.io").table; 80 local format_table = require("prosody.util.human.io").table;
81 local it = require("util.iterators"); 81 local it = require("prosody.util.iterators");
82 local row = format_table({ 82 local row = format_table({
83 { title = "Host"; width = "2p" }; 83 { title = "Host"; width = "2p" };
84 { title = "Task"; width = "3p" }; 84 { title = "Task"; width = "3p" };
85 { title = "Desc"; width = "3p" }; 85 { title = "Desc"; width = "3p" };
86 { title = "When"; width = "1p" }; 86 { title = "When"; width = "1p" };