From 3e2f0a86f95e4160b6f4f5da3431b78fb9be6d5d Mon Sep 17 00:00:00 2001 From: Jeroen De meerleer Date: Fri, 31 Aug 2018 18:20:19 +0200 Subject: [PATCH] ;) --- webcron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcron.php b/webcron.php index c6bfe12..4236cc7 100644 --- a/webcron.php +++ b/webcron.php @@ -100,7 +100,7 @@ foreach ($results as $result) { $nextrun = $result['nextrun']; do { $nextrun = $nextrun + $result['delay']; - } while ($nextrun < time()) + } while ($nextrun < time()); $nexttime = $db->prepare("UPDATE jobs SET nextrun = ? WHERE jobID = ?"); $nexttime->execute(array($nextrun, $result["jobID"]));