<?php
$time=30;
$url="http://www.time.com/index.php";//访问自身
$url1="http://www.zhoaoss.com/xsc/getBillsc";
sleep($time);
file_get_contents($url1);
file_get_contents($url);
?>
新建index.php文件放上面代码
然后cmd命令窗口运行php ./index.php运行
<?php
$time=30;
$url="http://www.time.com/index.php";//访问自身
$url1="http://www.zhoaoss.com/xsc/getBillsc";
sleep($time);
file_get_contents($url1);
file_get_contents($url);
?>
新建index.php文件放上面代码
然后cmd命令窗口运行php ./index.php运行