From: Nik Okuntseff Date: Wed, 12 Dec 2018 14:44:51 +0000 (+0000) Subject: Cosmetic. X-Git-Tag: timetracker_1.19-1~429 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=59368101167c11a1a7dc80050fcf3262e99d87aa;p=timetracker.git Cosmetic. --- 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'];