Merge branch 'bugfix/time-no-parameter'
This commit is contained in:
commit
74324914c2
|
@ -53,7 +53,8 @@ if (file_exists("cache/get-services.trigger")) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$stmt = $db->query('SELECT jobID, url, host, delay, nextrun, expected FROM jobs WHERE nextrun <= ' . time());
|
$stmt = $db->prepare('SELECT jobID, url, host, delay, nextrun, expected FROM jobs WHERE nextrun <= ?');
|
||||||
|
$stmt = $db->execute(array(time()));
|
||||||
$results = $stmt->fetchAll(PDO::FETCH_ASSOC);
|
$results = $stmt->fetchAll(PDO::FETCH_ASSOC);
|
||||||
$client = new \GuzzleHttp\Client();
|
$client = new \GuzzleHttp\Client();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user