This commit is contained in:
paoloar77
2024-05-17 13:08:55 +02:00
parent fd62bb9f86
commit 64f2935058

View File

@@ -25,6 +25,8 @@ class Kernel extends ConsoleKernel
*/ */
protected function schedule(Schedule $schedule) protected function schedule(Schedule $schedule)
{ {
echo "schedule";
Log::info('schedule');
// $schedule->command('inspire')->hourly(); // $schedule->command('inspire')->hourly();
$schedule->command('backup:clean')->daily()->at('02:00')->before(function () { $schedule->command('backup:clean')->daily()->at('02:00')->before(function () {
Log::info('Running backup:clean command'); Log::info('Running backup:clean command');