Home >Backend Development >PHP Tutorial >每隔五分钟进行一次统计,该怎么解决

每隔五分钟进行一次统计,该怎么解决

WBOY
WBOYOriginal
2016-06-13 10:14:38857browse

每隔五分钟进行一次统计
统计数据表中的数据 每隔五分钟进行一次统计 应该怎么写?


------解决方案--------------------
Windows:
schtasks /create /ru system /sc minute /mo 5 /tn MyClock /tr "cmd /c taskkill /f /im notepad.exe"
参考:http://topic.csdn.net/u/20110917/12/8143e067-adc2-4529-a4b3-24ff7d22d0b0.html
------解决方案--------------------
添加任务,定期执行指定脚本

Statement:
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