更新时间:2023-02-17 21:22:07
运行命令应为
C:\Path\to\php.exe -f "C:\Path\to\file.php"
从php.exe的命令行帮助中:
From the command line help of php.exe:
-f Parse and execute <file>.
如何在计划任务中运行PHP文件(Windows Task Scheduler)
如何在Windows的运行时中读取日志文件
如何在具有管理员权限的Windows Task Scheduler中设置Powershell脚本?
如何在PHP中从文件运行一组SQL查询?
如何在Cron Jobs中一个接一个地运行两个Php文件。
如何在netbeans中运行php文件
如何在计划任务中运行 PHP 文件(Windows 任务计划程序)
如何在WAMP/Windows环境中每天自动运行PHP脚本?
如何在 Windows 上编译的 Ubuntu 中运行 JAR 文件?
如何在Sublime text中运行PHP文件