将查询的实现与时间链接起来

I want to execute a query with time

here my code

if (isset($_GET[$this->appConfig['system']['installkey']])){
require_once( MODEL_PATH . 'install.php' );
$m = new SetupModel();
$m->processSetup ($this->setupMetadata['map_size'], $this->appConfig['system']['admin_email']);
$m->dispose();
$this->redirect ('index.php');
return;
}

This SQL query I want the specified timeframe For instance: 15:07:00 Hours: minutes: seconds When time runs are executed code link above

You should check about crons.

If you don't have a dedicated server or a cron management, you can use something like WebCron to automatically call a webpage each time a day.

Anyway, it needs to be external, you can't do that only with PHP, something has to trigger it.