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
Say goodbye to the hassles of bike ownership! MotoShare.in offers affordable rentals, whether you need a scooter for errands, a bike for a road trip, or a reliable ride to explore new cities.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals