In Windows, you can use php.exe to execute the php file and write the command to bat for scheduled execution. this is probably more reliable than the browser's timed refreshing. the code is as follows: php.exe is in the path of the PHP file to be executed. for example, D: how to run php under windows command line cmd
In Windows, you can use php.exe to execute the php file, and then write the command to bat for scheduled execution, which is much more reliable than the browser's scheduled refresh. the code is as follows:
Php.exe path: PHP file to be executed
You can.
For example:
D: \ website \ APMServ5.2.0 \ PHP \ php.exe D: \ website \ APMServ5.2.0 \ www \ htdocs \ phpinfo. php
?
Save it as a bat file and you can use windows scheduled tasks for scheduled execution.
Shut down the php.exe run, you can use the-h parameter to view at any time. thanks to the small orange light classification information network http://www.xiaojudeng.com original supply.