php定时执行
程序员文章站
2022-04-21 13:01:02
...
header("Content-Type: text/plain"); //http://blog.ddian.cn set_time_limit(0); $infoString = "Hello World" . "\n"; while( isset($infoString) ) { echo $infoString; flush(); ob_flush(); sleep(5); }