Provides the ability to queue commands from the Laravel scheduler.
fidum/laravel-schedule-queue-command is a Laravel package for provides the ability to queue commands from the laravel scheduler..
It currently has 11 GitHub stars and 17.526 downloads on Packagist (latest version 2.0.1).
Install it with composer require fidum/laravel-schedule-queue-command.
Discover more Laravel packages by fidum
or browse all Laravel packages to compare alternatives.
Last updated
Adds a queueCommand function to the scheduler that executes the equivalent of Artisan::queue(...) on the given schedule. It also provides the ability to optionally customise the queue and connection if needed.
You can install the package via composer:
composer require fidum/laravel-schedule-queue-command
In your laravel projects app/Console/Kernel.php:
$schedule->queueCommand(FooCommand::class)->everyMinute();
$schedule->queueCommand(FooCommand::class, ['some-argument' => 'foo']);
$schedule->queueCommand(FooCommand::class, ['some-argument' => 'foo'], 'queue');
$schedule->queueCommand(FooCommand::class, ['some-argument' => 'foo'], 'queue', 'connection');
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.