Skip to content

Instantly share code, notes, and snippets.

@BassemN
BassemN / README.md
Created December 20, 2024 10:09 — forked from chuckg/README.md
Bootstrap an image for use as a Vagrant base box

Requirements

Prepare virtual machine

@BassemN
BassemN / EnsureQueueListenerIsRunning.php
Created October 21, 2021 21:41 — forked from ivanvermeyen/EnsureQueueListenerIsRunning.php
Ensure that the Laravel queue listener is running with "php artisan queue:checkup" and restart it if necessary. You can run this automatically with a cron job: http://laravel.com/docs/scheduling
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class EnsureQueueListenerIsRunning extends Command
{
/**
* The name and signature of the console command.