You also need to install a dispatcher. Here is a tutorial on using beanstalkd with laravel:
http://fideloper.com/ubuntu-beanstalkd-and-laravel4
The following is information about the dispatcher:
http://supervisord.org/installing.html
I personally use the redis instance and start the queue with the supervisor from there. I find it a little more efficient in terms of memory, and then beanstalkd personally, but each one is there.
Supervisor will execute the queue: listen command from artisan, and this will start the task, if you have several dispatcher processes, you can run several lines. depending on what you are doing, I would almost look into python and multithereading, since I used this for a few things that I used to use in the queue, and this provided even better results.
Example configuration file for a supervisor:
[program:myqueue] command=php artisan queue:listen --env=your_environment directory=/path/to/laravel stdout_logfile=/path/to/laravel/app/storage/logs/myqueue_supervisord.log redirect_stderr=true autostart=true autorestart=true
clonerworks
source share