File

plugins/mod_posix.lua @ 13588:899453f11f50

mod_cron: Don't run tasks if loaded inside prosodyctl It's common for modules to depend on mod_cron, and this can lead to it loading inside prosodyctl, where we don't really want to run any cron tasks.
author Matthew Wild <mwild1@gmail.com>
date Tue, 07 Jan 2025 18:06:29 +0000
parent 13461:c673ff1075bd
line wrap: on
line source

-- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--

module:set_global(); -- we're a global module

-- TODO delete this whole concept