![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
laravel
allen-ge
工程师
展开
-
laravel5.3通过数据库创建任务队列
.env文件中设置队列驱动为数据库QUEUE_DRIVER=database创建队列用到的数据表php artisan queue:table执行migratephp artisan migrate进入tinkerphp artisan tinker批量创建30条用户数据factory(App\User::class, 30)->crea原创 2016-11-20 19:22:54 · 2254 阅读 · 0 评论 -
laravel通过supervisor管理beanstalkd任务队列
mac安装supervisorbrew install supervisorTo have launchd start supervisor now and restart at login:brew services start supervisorOr, if you don't want/need a background service you can just r原创 2016-11-20 23:05:55 · 2916 阅读 · 0 评论