File: D:/HostingSpaces/Eurotools/euro-tools.nl/app/Console/Kernel.php
<?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
];
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
//Run the queue listener every hour, if it is still running, do nothing
$schedule->command('queue:listen')->hourly()->withoutOverlapping();
// $schedule->command('shop:catalog')->dailyAt('03:00'); //Update the shop catalog index
$schedule->command('shop:catalog')->everyMinute(); //Update the shop catalog index
$schedule->command('shop:vatcheck')->dailyAt('21:00');
}
}