This commit is contained in:
Jeroen De Meerleer 2018-08-31 18:20:19 +02:00
parent 042ab6ffe3
commit 3e2f0a86f9
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
1 changed files with 1 additions and 1 deletions

View File

@ -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"]));