for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Tinyissue package.
*
* (c) Mohamed Alsharaf <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Tinyissue\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
use Tinyissue\Console\Commands;
/**
* Kernel is class to define the commands schedule for application cron jobs.
* @author Mohamed Alsharaf <[email protected]>
class Kernel extends ConsoleKernel
{
* The Artisan commands provided by your application.
* @var array
protected $commands = [
Commands\SendMessages::class,
];
* Define the application's command schedule.
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
protected function schedule(Schedule $schedule)
$schedule
->command('tinyissue:messages')
->everyMinute()
->withoutOverlapping();
}