I used the following commands to set my queue process in execution forever even after I close the server terminal. But it stops as soon as I close the terminal. Please help me with this. How to put it always running in the background. You can see I used all nohup commands but no luck.
1) nohup php artisan queue:work --tries=1 </dev/null >/dev/null 2>&1 &
2) nohup php artisan queue:work --tries=1 >/dev/null 2>&1 &
3) nohup php artisan queue:work --daemon > /dev/null 2>&1 &
4) nohup php artisan queue:work > /dev/null 2>&1 &
5) nohup php artisan queue:work --tries=1
6) nohup php artisan queue:listen >/dev/null 2>&1 &
Note: I am not having root
access of the server. I am using user created from WHM. IDK if that is the problem.