|
@@ -81,8 +81,8 @@ class Server extends Controller
|
|
|
}
|
|
}
|
|
|
$str[]= "第" . $i . "次执行完毕\r\n\r\n";
|
|
$str[]= "第" . $i . "次执行完毕\r\n\r\n";
|
|
|
echo implode("\r\n", $str);
|
|
echo implode("\r\n", $str);
|
|
|
- file_put_contents("/home/wwwroot/phplife.net/update.txt", implode("\r\n", $str),FILE_APPEND);
|
|
|
|
|
- file_put_contents("/home/wwwroot/phplife.net/dns.txt", var_export($recode_data));
|
|
|
|
|
|
|
+ file_put_contents("/root/update.txt", implode("\r\n", $str),FILE_APPEND);
|
|
|
|
|
+ file_put_contents("/root/dns.txt", var_export($recode_data));
|
|
|
$i++;
|
|
$i++;
|
|
|
sleep(60);
|
|
sleep(60);
|
|
|
}
|
|
}
|