Merge branch 'bugfix/task-not-on-time'

This commit is contained in:
Jeroen De Meerleer 2018-09-21 15:23:35 +02:00
commit 442e7f22c5
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ if (file_exists("cache/get-services.trigger")) {
}
$stmt = $db->prepare('SELECT jobID, url, host, delay, nextrun, expected FROM jobs WHERE nextrun <= ?');
$stmt = $db->execute(array(time()));
$stmt->execute(array(time()));
$results = $stmt->fetchAll(PDO::FETCH_ASSOC);
$client = new \GuzzleHttp\Client();