可以使用Cron Job在Laravel中运行任务计划
当它使用终端在本地服务器中工作,而不是在服务器中,我们准备了自动运行的功能。
这个cron命令有什么问题?
/usr/local/bin/php /home/path_of_server/artisan schedule:run >> null 2>&1
we prepared functionality to run automatically, while it is working in the local server using the terminal but not in the server.
what is wrong with this cron command?
/usr/local/bin/php /home/path_of_server/artisan schedule:run >> null 2>&1
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
命令中缺少开发人员。
应该这样:
dev is missing in your command.
It should be like this: