php定时执行
程序员文章站
2023-12-25 14:07:03
...
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); }