windows定时任务bat=>php

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_29058883/article/details/82690322
bat里可能是php.exe  也可能是php-cgi.exe
D:\phpStudy\php\php-7.0.12-nts\php-cgi.exe -f D:\test.php

php文件里curl请求或者file_get_content  注意链接的https   如果是https需要另外做处理

猜你喜欢

转载自blog.csdn.net/qq_29058883/article/details/82690322