Home > Backend Development > PHP Tutorial > php 怎么定时请求服务器获取数据

php 怎么定时请求服务器获取数据

WBOY
Release: 2016-06-06 20:46:01
Original
2101 people have browsed it

php 怎么可以做到定时请求服务器获取最新数据
定时(可以是1小时、2小时、一天)

回复内容:

php 怎么可以做到定时请求服务器获取最新数据
定时(可以是1小时、2小时、一天)

http://segmentfault.com/q/1010000000158454#a-1020000000158748

搜索 linux crontab

如果是在 linux 服务器上,一般写个 cronjob 就可以了。

crontab 你值得拥有;前提是你在linux

Related labels:
php
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