You can take a look at a third party queue driver. You can find the supported once by Laravel in here: http://laravel.com/docs/5.1/queues#introduction
Nov 9, 2015
1
Level 5
Manage queue jobs in shared hosting.
Hi !!
I need advice on what to do with queued jobs in shared hosting. I have an application installed with hostgator shared hosting. I have to send a lot of emails, so I set up a database queue. Right now I have this piece of code inside my Console/Kernel.php class:
// Process pending jobs.
$schedule->command('queue:restart')
->everyFiveMinutes();
$schedule->command('queue:work --daemon')
->everyTenMinutes()
->sendOutputTo(storage_path() . '/logs/queue-jobs.log');
This fails a lot of times, I thought of installing supervisor but I have now clue right now on how to accomplish this in shared hosting. Perhaps there's another way to check the queue, bring the listener up if it goes down, etc.
Any help is very appreciated =) thanks !!
Please or to participate in this conversation.