Home > Backend Development > PHP Tutorial > 关于PHP定时操作MYSQL,该如何解决

关于PHP定时操作MYSQL,该如何解决

WBOY
Release: 2016-06-13 11:11:17
Original
942 people have browsed it

关于PHP定时操作MYSQL
最近因手游项目接触PHP +MYSQL 请教一个问题

如果我想 通过PHP 定时 操作数据库 应该怎么写PHP 
例如
每天 24时 操作一次数据库 , 每周操作一次数据库,应该怎么做 
对PHP很不了解 求详细讲解


------解决方案--------------------
定时操作数据库如果能在数据库完成的用数据库的任务功能.
要不然linux 就用crontab 来实现吧..
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template