laravel调度任务创建以后执行php artisan schedule:run 提示执行成功,但是代码并没有正常运行
找到php.ini文件进入编辑
搜索proc_status找到
disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,proc_open,proc_get_status,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server
删除proc_open,proc_get_status
重启php在运行就可以执行了