changeset 12190 | 7f25ac9d8f0d |
parent 12006 | cbed7d8d8f35 |
child 12493 | 8b42575738f0 |
--- a/teal-src/plugins/mod_cron.tl Fri Jan 14 17:00:13 2022 +0000 +++ b/teal-src/plugins/mod_cron.tl Sat Jan 15 09:09:24 2022 +0100 @@ -78,7 +78,7 @@ 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)