Slide 1
Excellent Education Program
Innovative Methods of Teaching

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cum sociis natoque penatibus et magnis dis parturient.

Slide 2
Learning Through Play
Devoted to the Early Education

Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.

Slide 2
Learning Through Play
Devoted to the Early Education

Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.

Slide 2
Learning Through Play
Devoted to the Early Education

Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.

Slide 2
Learning Through Play
Devoted to the Early Education

Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.

Slide 3
Learning Through Play
Find a Class for your Children

Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis.

previous arrow
next arrow

How to run php artisan queue:listen in background on Ubuntu or Linux machine

Spread the Knowledge

Steps:
1. Login to ubuntu machine using putty or any other ssh client
2. Run command: sudo -s
3. Run command: cd /opt/lamp/htdocs/<Laravel project directory name>
4. Run command: sudo vi start-laravel-project-name-queue.sh
5. Click “i” for insert mode
6. Type: php artisan queue:listen
7. Press ESC button to exit from insert mode
8. Press :wq
9. Now run command: nohup start-laravel-project-name-queue.sh /dev/null &

Now even if you logout from the ubuntu putty session the queue remains running

Chetan