Comparison

plugins/mod_cron.lua @ 13702:4b83dbcddcff

Merge 13.0->trunk
author Matthew Wild <mwild1@gmail.com>
date Sat, 15 Feb 2025 10:34:26 +0000
parent 13701:1aa7efabeacb
comparison
equal deleted inserted replaced
13699:4ba7216579eb 13702:4b83dbcddcff
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" };