系统找不到指定的路径1

The system cannot find the path specified1

win i 运行 这个 cod 我有这个错误

C:\Users\Administrator\Mettco1>  * * * * * php /c/Users/Administrator/Mettco1/artisan schedule:run >> /dev/null 2>&1

系统找不到指定的路径。

这用于设置您的日程安排,因此您需要将其添加到您的服务器 crontab 从您的服务器终端输入 crontab -e 并将该代码粘贴到那里,以设置 cron。

但是如果你想在本地服务器上测试 运行 你已经添加到 scheduler

的 artisan 命令