I want my laravel queue:work to keep running on a shared hosting, this is a shared hosting (am not on a VPS) I can\'t install anything because almost all on
Try adding two cron jobs:
/usr/local/bin/php /home//artisan cache:clear
/usr/local/bin/php /home//artisan schedule:run
Also, make sure that your app\Console\Kernel.php is having something like
protected function schedule(Schedule $schedule)
{
$schedule->command('queue:work --tries=3')
->cron('* * * * *')
->withoutOverlapping(5);
}
Remove the first job (the one to remove cache) if the queue starts working