diff options
Diffstat (limited to 'teal-src')
-rw-r--r-- | teal-src/plugins/mod_cron.tl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/teal-src/plugins/mod_cron.tl b/teal-src/plugins/mod_cron.tl index 581c8c0a..1375a195 100644 --- a/teal-src/plugins/mod_cron.tl +++ b/teal-src/plugins/mod_cron.tl @@ -78,7 +78,7 @@ function module.add_host(host_module : moduleapi) end local function should_run(when : frequency, last : integer) : boolean - return not last or last + periods[when] <= os.time(); + return not last or last + periods[when]*0.995 <= os.time(); end local function run_task(task : task_spec) |