diff options
-rw-r--r-- | plugins/mod_cron.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mod_cron.lua b/plugins/mod_cron.lua index 29c1aa93..67b68514 100644 --- a/plugins/mod_cron.lua +++ b/plugins/mod_cron.lua @@ -8,6 +8,10 @@ local cron_spread_factor = module:get_option_number("cron_spread_factor", 0); local active_hosts = {} +if prosody.process_type == "prosodyctl" then + return; -- Yes, it happens... +end + function module.add_host(host_module) local last_run_times = host_module:open_store("cron", "map"); |