将查询的实现与时间联系起来


Linking the implementation of the query with time

我想用时间执行查询

这是我的代码

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;
}

这个SQL查询我想要指定的时间范围例如:15:07:00小时:分钟:秒执行时间运行时的代码链接

你应该检查一下crons。

如果您没有专用服务器或 cron 管理,则可以使用像 WebCron 这样的东西每天每次自动调用网页。

无论如何,它

必须是外部的,你不能只用PHP来做到这一点,必须有一些东西来触发它。