добавляю все изменения проекта на текущий момент
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
namespace App\Console;
|
||||
|
||||
use Illuminate\Console\Scheduling\Schedule;
|
||||
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
||||
|
||||
class Kernel extends ConsoleKernel
|
||||
{
|
||||
/**
|
||||
* Define the application's command schedule.
|
||||
*/
|
||||
protected function schedule(Schedule $schedule): void
|
||||
{
|
||||
// $schedule->command('inspire')->hourly();
|
||||
//activity()->log('Look mum, I logged something');
|
||||
#Гаврилов
|
||||
//ПРОВЕРИТЬ, РАБОТАЕТ?
|
||||
// $schedule->command('sanctum:prune-expired --hours=24')
|
||||
// ->daily();
|
||||
//->dailyAt('21:03');
|
||||
// activity()
|
||||
// ->byAnonymous()
|
||||
// ->inLog('Shedule')
|
||||
// ->event('clear_old_Sanctum_tokens');
|
||||
$schedule->command('taxi:send-today-orders-mail')->dailyAt('08:00');
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the commands for the application.
|
||||
*/
|
||||
protected function commands(): void
|
||||
{
|
||||
$this->load(__DIR__.'/Commands');
|
||||
|
||||
require base_path('routes/console.php');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user