diff --git a/webcron.php b/webcron.php index 22db385..caaf032 100644 --- a/webcron.php +++ b/webcron.php @@ -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();