dongyishe6689 2011-04-23 05:42
浏览 48
已采纳

每隔100ms运行一次php脚本

Is it possible to run a php script after every 100ms ? This script will check a database for changes and then the changes will be reflected into some other database. I am already doing it using Triggers. But I want to know if there is any other way to do it without using Cron and Triggers. I will be using Linux for this purpose. Thanks

  • 写回答

6条回答 默认 最新

  • dongliling6336 2011-04-23 05:59
    关注

    Running something every 100ms almost means that it runs all the time , might as well create a daemon that continuously loops and executes

    or use triggers. Essentially on every database change it will copy to another table/db.

    http://codespatter.com/2008/05/06/how-to-use-triggers-to-track-changes-in-mysql/

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(5条)

报告相同问题?

悬赏问题

  • ¥100 角动量包络面如何用MATLAB绘制
  • ¥15 merge函数占用内存过大
  • ¥15 Revit2020下载问题
  • ¥15 使用EMD去噪处理RML2016数据集时候的原理
  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
  • ¥15 单片机无法进入HAL_TIM_PWM_PulseFinishedCallback回调函数
  • ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
  • ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
  • ¥15 如何在炒股软件中,爬到我想看的日k线
  • ¥15 seatunnel 怎么配置Elasticsearch