一个永恒运行的PHP脚本 sleep

WBOY
Release: 2016-06-13 11:37:32
Original
997 people have browsed it

一个永久运行的PHP脚本 sleep
看过以前提问的帖子,是判断是否只有一个永久运行脚本在运行

现在想问下sleep()1秒
          sleep()10秒
          sleep()1分钟
          sleep()半小时
          sleep()一小时

时间上的不同对服务器压力,内存占用这些有多大影响,只有一个在运行,后来运行的会判断是否已有运行

php?sleep php sleep
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