我赢了这个鳕鱼,我遇到了这个错误
C:\Users\Administrator\Mettco1> * * * * * php /c/Users/Administrator/Mettco1/artisan schedule:run >> /dev/null 2>&1
系统找不到指定的路径。
答案 0 :(得分:0)
这是用于设置计划的,因此您需要将此服务器添加到crontab
在服务器终端上输入crontab -e
,然后将代码粘贴到此处,以设置cron。
但是,如果要在本地服务器上进行测试,只需运行已添加到scheduler