changeset 12507 | ad49bb3a4780 |
parent 12502 | c3e47a5dd30d |
--- a/teal-src/plugins/mod_cron.tl Sun May 15 15:27:35 2022 +0200 +++ b/teal-src/plugins/mod_cron.tl Sun May 15 15:29:02 2022 +0200 @@ -89,7 +89,7 @@ end local task_runner : async.runner_t<task_spec> = async.runner(run_task); -module:add_timer(1, function() : integer +scheduled = module:add_timer(1, function() : integer module:log("info", "Running periodic tasks"); local delay = 3600; for host in pairs(active_hosts) do