php - Laravel 5.4 queues storing the data in jobs table but not sending the queues emails on server -


for laravel queue run in background have installed supervisor on ubuntu can run queue:work command on ubuntu service 24 h can send emails user using email queue.

for have created file file in

/etc/supervisor/conf.d

to monitor process queue:work.

here file

[program:laravel-worker] process_name=%(program_name)s_%(process_num)02d command=php /var/www/html/laravel/artisan queue:work database --sleep=3 --tries=3 autostart=true autorestart=true user=ubuntu numprocs=4 redirect_stderr=true stdout_logfile=/var/www/html/laravel/storage/logs/laravel-worker.log 

and here laravel mail queue code

mail::to($email)->queue(new subscriberemail($name)); 

when run code laravel store data in jobs table don't send emails users

i have checked failed jobs table no data in table.

i have run command on server

sudo supervisorctl status 

it shows me detail

laravel-worker:laravel-worker_00 fatal exited (process log may have details)

laravel-worker:laravel-worker_01 fatal exited (process log may have details)

laravel-worker:laravel-worker_02 fatal exited (process log may have details)

laravel-worker:laravel-worker_03 fatal exited (process log may have details)

i have gone logs folder no log file has been generated.

kindly me on issue please.

thanks


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -