douyi0902 2015-03-11 11:04
浏览 7

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

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

  • 写回答

1条回答 默认 最新

  • drnpwmq4536 2015-03-11 11:26
    关注

    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.

    评论

报告相同问题?

悬赏问题

  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
  • ¥15 关于smbclient 库的使用
  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教