From 59368101167c11a1a7dc80050fcf3262e99d87aa Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Wed, 12 Dec 2018 14:44:51 +0000 Subject: [PATCH] Cosmetic. --- cron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.php b/cron.php index 19384df4..337f96ae 100644 --- a/cron.php +++ b/cron.php @@ -101,7 +101,7 @@ while ($val = $res->fetchRow()) { } // Calculate next execution time. - $next = tdCron::getNextOccurrence($val['cron_spec'], $now + 60); // +60 sec is here to get us correct $next when $now is close to existing "next"./// + $next = tdCron::getNextOccurrence($val['cron_spec'], $now + 60); // +60 sec is here to get us correct $next when $now is close to existing "next". // This is because the accuracy of tdcron class appears to be 1 minute. // Update last and next values in tt_cron. $sql = "update tt_cron set last = $now, next = $next where id = ".$val['id']; -- 2.20.1